LoopUnroll: Pass through AssumptionCache (NFC)
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 19 Sep 2022 21:50:22 +0000 (17:50 -0400)
committerMatt Arsenault <arsenm2@gmail.com>
Mon, 26 Sep 2022 18:52:59 +0000 (14:52 -0400)
commit53fa00b3ae4722b71622957fdab66202e2de1173
tree55fab97623b3c1caa22cda81cef1aba5b242586d
parent2d628330482e49d36744cb8f3fb5047cfeae6c56
LoopUnroll: Pass through AssumptionCache (NFC)

Using these queries with a context instruction and without a cache
seems to be about 2x slower than with it so this theoretically
improves compile time.
llvm/include/llvm/Transforms/Utils/UnrollLoop.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp