[PATCH] D151698: [SCEV] Compute AddRec range computations using different type BECount

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 00:49:52 PDT 2023


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: polly/test/CodeGen/switch-in-non-affine-region.ll:17
 ;
-; CHECK: polly.stmt.if.then:
-; CHECK:   %[[trunc:.*]] = trunc i64 %polly.indvar to i32
-; CHECK:   %p_rem = srem i32 %[[trunc]], 4
-; CHECK:   switch i32 %p_rem, label %polly.stmt.sw.epilog [
-; CHECK:     i32 0, label %polly.stmt.sw.bb
-; CHECK:     i32 1, label %polly.stmt.sw.bb.3
-; CHECK:   ]
+; CHECK:      polly.stmt.if.then:                               ; preds = %polly.stmt.for.body
+; CHECK-NEXT:   %2 = trunc i64 %polly.indvar to i2
----------------
Don't match `; preds`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151698/new/

https://reviews.llvm.org/D151698



More information about the llvm-commits mailing list