Files
clang-p2996/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
Jan Ječmen 78db4e9f7b [NFC][IRCE] Don't require LoopStructure to determine IRCE profitability (#116384)
This refactoring hoists the profitability check earlier in the pipeline,
so that for loops that are not profitable to transform there is no
iteration over the basic blocks or LoopStructure computation.

Motivated by PR #104659 that tweaks how the profitability of individual
branches is evaluated.
2024-12-04 11:09:19 +01:00

41 KiB