[llvm] [VPlan] Materialize constant vector trip counts before final opts. (PR #142309)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 02:00:38 PDT 2025
================
@@ -970,7 +970,7 @@ loop:
%red.next = fadd double %for, %red
%for.next = sitofp i32 %iv to double
%iv.next = add nsw i32 %iv, 1
- %ec = icmp eq i32 %iv.next, 1024
+ %ec = icmp eq i32 %iv.next, 1025
----------------
ayalz wrote:
This change in the test is intentional - to prevent branch on const folding?
https://github.com/llvm/llvm-project/pull/142309
More information about the llvm-commits
mailing list