[llvm] [LoopInterchange] Reject interchange if non-reassociative reduction exists (PR #148612)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 05:14:03 PDT 2025
================
@@ -38,7 +38,7 @@ for.body3: ; preds = %L2, %for.inc
%idxprom4 = sext i32 %k1.03 to i64
%arrayidx5 = getelementptr inbounds [5 x i32], ptr %arrayidx, i64 0, i64 %idxprom4
%0 = load i32, ptr %arrayidx5
- %add = add nsw i32 %temp.12, %0
+ %add = add i32 %temp.12, %0
----------------
kasuga-fj wrote:
It seems that this test was originally incorrect.
https://github.com/llvm/llvm-project/pull/148612
More information about the llvm-commits
mailing list