[llvm] [IRCE] Relax profitability check (PR #104659)

Aleksandr Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 01:53:59 PDT 2024


================
@@ -940,35 +958,35 @@ PreservedAnalyses IRCEPass::run(Function &F, FunctionAnalysisManager &AM) {
   return getLoopPassPreservedAnalyses();
 }
 
-bool
-InductiveRangeCheckElimination::isProfitableToTransform(const Loop &L,
-                                                        LoopStructure &LS) {
----------------
aleks-tmb wrote:

Would it be possible to extract the removal of `LoopStructure` into a separate patch? Becaouse we're aiming to break down changes into the smallest possible parts :)

https://github.com/llvm/llvm-project/pull/104659


More information about the llvm-commits mailing list