[PATCH] D141481: [SCEV] Canonicalize ext(min/max(x, y)) to min/max(ext(x), ext(y))
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 05:11:25 PST 2023
mkazantsev added inline comments.
================
Comment at: llvm/test/Analysis/ScalarEvolution/fold.ll:78
; CHECK-NEXT: %I = add i32 %A, 1
-; CHECK-NEXT: --> {1,+,1}<%loop> U: [1,22) S: [1,22) Exits: 21 LoopDispositions: { %loop: Computable }
+; CHECK-NEXT: --> {1,+,1}<nuw><nsw><%loop> U: [1,22) S: [1,22) Exits: 21 LoopDispositions: { %loop: Computable }
; CHECK-NEXT: Determining loop execution counts for: @test4
----------------
There are even some improvements from it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141481/new/
https://reviews.llvm.org/D141481
More information about the llvm-commits
mailing list