[llvm] [IRCE] Relax profitability check (PR #104659)
Aleksandr Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 04:49:13 PST 2024
================
@@ -989,17 +999,15 @@ bool InductiveRangeCheckElimination::run(
return false;
}
- if (!isProfitableToTransform(*L))
- return false;
----------------
aleks-tmb wrote:
Currently, we have an early exit from the transformation if we determine it's not profitable. Does it make sense to keep this behavior? Is it a common path where we perform an early exit?
https://github.com/llvm/llvm-project/pull/104659
More information about the llvm-commits
mailing list