[llvm] [DependenceAnalysis] Fix incorrect analysis of wrapping AddRec expressions (PR #154982)
Sebastian Pop via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 06:43:01 PDT 2025
================
@@ -168,7 +168,7 @@ test2.for.body: ; preds = %entry, %test2
%add = fadd float %0, %1
%arrayidx2 = getelementptr inbounds float, ptr %a, i64 %i.02
store float %add, ptr %arrayidx2, align 4
- %inc = add i64 %i.02, 1
----------------
sebpop wrote:
This change preserves the pattern of the test that deals with building the DDG and the shape of the DDG.
I'm all ears if you have another shorter way (less than 2 lines change) to preserve the pattern that the test was written for.
https://github.com/llvm/llvm-project/pull/154982
More information about the llvm-commits
mailing list