[llvm] [IRCE] Relax profitability check (PR #104659)
    Jan Ječmen via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 19 05:18:35 PDT 2024
    
    
  
================
@@ -985,13 +981,25 @@ bool InductiveRangeCheckElimination::run(
   }
 
   LLVMContext &Context = Preheader->getContext();
+
+  const char *FailureReason = nullptr;
----------------
JanJecmen wrote:
I realized I don't need to move it at all since I only need a few of its fields that I can get from the Loop itself.
https://github.com/llvm/llvm-project/pull/104659
    
    
More information about the llvm-commits
mailing list