Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 96fa222

Browse files
committed
[InstCombine] Regenerate test28_sub test case in xor.ll that I forgot to commit after fixing a typo in r310186.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310188 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e9e9a55 commit 96fa222

File tree

1 file changed

+2
-1
lines changed
  • test/Transforms/InstCombine

1 file changed

+2
-1
lines changed

test/Transforms/InstCombine/xor.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ define i32 @test28(i32 %indvar) {
355355

356356
define i32 @test28_sub(i32 %indvar) {
357357
; CHECK-LABEL: @test28_sub(
358-
; CHECK-NEXT: ret i32 -2147483648
358+
; CHECK-NEXT: [[T214:%.*]] = sub i32 1, [[INDVAR:%.*]]
359+
; CHECK-NEXT: ret i32 [[T214]]
359360
;
360361
%t7 = sub i32 -2147483647, %indvar
361362
%t214 = xor i32 %t7, -2147483648

0 commit comments

Comments
 (0)