[PATCH] D82721: [ScalarEvolution] createSCEV(): recognize `udiv`/`urem` disguised as an `sdiv`/`srem`
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 16:45:34 PDT 2020
clementval added inline comments.
================
Comment at: llvm/test/Analysis/ScalarEvolution/sdiv.ll:17
; CHECK-NEXT: %rem = sdiv i32 %i.0, 2
-; CHECK-NEXT: --> (zext i1 {false,+,true}<%for.cond> to i32) U: [0,2) S: [0,2) Exits: (zext i1 (trunc i32 %width to i1) to i32) LoopDispositions: { %for.cond: Computable }
; CHECK-NEXT: %idxprom = sext i32 %rem to i64
----------------
lebedev.ri wrote:
> efriedma wrote:
> > What are you diffing against here?
> Didn't push the test commit originally.
> Now done: rG51ff7642a33f73518d60909e3fe4e6348dcc7b27.
This commit is making a bunch of builedbot failing. Can you revert it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82721/new/
https://reviews.llvm.org/D82721
More information about the llvm-commits
mailing list