Files
clang-p2996/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
Nick Desaulniers dda3b70602 [ConstantHoisting] stop rematerializing InsertionPt
Reading this code, I noticed that we call findMatInsertPt a lot, for the
same inputs. Calculate it once and save the result.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D155237
2023-07-17 15:01:29 -07:00

39 KiB