[PATCH] D142255: [WIP] Loop peeling opportunity for identity operators
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 01:36:56 PST 2023
mkazantsev added inline comments.
================
Comment at: llvm/test/Transforms/LoopUnroll/AArch64/runtime-loop.ll:27
%indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %entry ]
- %sum.02 = phi i32 [ %add, %for.body ], [ 0, %entry ]
+ %sum.02 = phi i32 [ %add, %for.body ], [ 1, %entry ]
%arrayidx = getelementptr inbounds i32, ptr %a, i64 %indvars.iv
----------------
Looks like a bug, the number of iterations didn't change but sum did?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142255/new/
https://reviews.llvm.org/D142255
More information about the llvm-commits
mailing list