[llvm] [LoopVectorize] Refine runtime memory check costs when there is an outer loop (PR #76034)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 05:02:07 PST 2024


================
@@ -2070,7 +2070,7 @@ class GeneratedRTChecks {
     }
   }
 
-  InstructionCost getCost() {
+  InstructionCost getCost(Loop *OuterLoop) {
----------------
fhahn wrote:

Could you update the places that look up the outer loop to use the new variable as well?

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


More information about the llvm-commits mailing list