[llvm] [VPlan] Handle some VPInstructions in may{Read,Write}FromMemory (PR #120058)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 04:47:55 PST 2025


================
@@ -423,12 +413,16 @@ else.2:
 loop.latch:
   %iv.next = add i64 %iv, 1
   %ec = icmp eq i64 %iv, 64
-  br i1 %ec, label %exit, label %loop.header
+  br i1 %ec, label %exit, label %loop.header, !llvm.loop !0
 
 exit:
   ret void
 }
 
+!0 = distinct !{!0, !1}
----------------
lukel97 wrote:

That seemed to work more or less, I've removed the force vectorization hint too

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


More information about the llvm-commits mailing list