[InstCombine] Regenerate test28_sub test case in xor.ll that I forgot to commit after fixing a typo in r310186.

llvm-svn: 310188
This commit is contained in:
Craig Topper 2017-08-05 22:44:38 +00:00
parent f2068ef7dd
commit 7e84697e59
1 changed files with 2 additions and 1 deletions

View File

@ -355,7 +355,8 @@ define i32 @test28(i32 %indvar) {
define i32 @test28_sub(i32 %indvar) {
; CHECK-LABEL: @test28_sub(
; CHECK-NEXT: ret i32 -2147483648
; CHECK-NEXT: [[T214:%.*]] = sub i32 1, [[INDVAR:%.*]]
; CHECK-NEXT: ret i32 [[T214]]
;
%t7 = sub i32 -2147483647, %indvar
%t214 = xor i32 %t7, -2147483648