[llvm] [IRCE] Relax profitability check (PR #104659)
Aleksandr Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 14:45:01 PDT 2024
aleks-tmb wrote:
> Consider, for example, a loop with 100 iterations, where IRCE currently eliminates all 100 range checks. The same range checks performed over a loop with 200 iterations aren't eliminated because the branch is 50-50.
Could you please add a test where range checks are not eliminated by the current IRCE, but are eliminated by your patch, to demonstrate the impact of the changes?
https://github.com/llvm/llvm-project/pull/104659
More information about the llvm-commits
mailing list