Skip to content

Commit bc6bf5e

Browse files
committed
fixup
Created using spr 1.3.4
1 parent f77fa7f commit bc6bf5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ for.body: ; preds = %entry, %cont
140140
%0 = tail call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %i.04, i32 1)
141141
%1 = extractvalue { i32, i1 } %0, 1
142142

143+
; It is theoretically possible to prove this, but SCEV cannot
144+
; represent non-unsigned-wrapping subtraction operations.
145+
143146
; CHECK: for.body:
144147
; CHECK: [[COND:%[^ ]+]] = extractvalue { i32, i1 } %1, 1
145148
; CHECK-NEXT: br i1 [[COND]], label %trap, label %cont, !nosanitize !0

0 commit comments

Comments
 (0)