[llvm] [VPlan] Retain exit conditions and edges in initial VPlan (NFC). (PR #137709)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May  7 12:58:06 PDT 2025
    
    
  
================
@@ -302,6 +304,7 @@ compound=true
       "  EMIT store ir\<%res\>, ir\<%arr.idx\>\l" +
       "  EMIT ir\<%iv.next\> = add ir\<%iv\>, ir\<1\>\l" +
       "  EMIT ir\<%exitcond\> = icmp ir\<%iv.next\>, ir\<%N\>\l" +
+      "  EMIT vp\<%3\> = not ir\<%exitcond\>\l" +
----------------
ayalz wrote:
Should vp%3 be used, also above.
https://github.com/llvm/llvm-project/pull/137709
    
    
More information about the llvm-commits
mailing list