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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 5 15:44:38 PDT 2017


Author: ctopper
Date: Sat Aug  5 15:44:38 2017
New Revision: 310188

URL: http://llvm.org/viewvc/llvm-project?rev=310188&view=rev
Log:
[InstCombine] Regenerate test28_sub test case in xor.ll that I forgot to commit after fixing a typo in r310186.

Modified:
    llvm/trunk/test/Transforms/InstCombine/xor.ll

Modified: llvm/trunk/test/Transforms/InstCombine/xor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/xor.ll?rev=310188&r1=310187&r2=310188&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/xor.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/xor.ll Sat Aug  5 15:44:38 2017
@@ -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




More information about the llvm-commits mailing list