[llvm] 68adc02 - [InstCombine][NFC] regenerate tests for simple_phi_condition.ll

Yingchi Long via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 03:30:20 PST 2023


Author: Yingchi Long
Date: 2023-02-10T19:29:17+08:00
New Revision: 68adc028b42d069a8ea7f0719f16e6ab4c723678

URL: https://github.com/llvm/llvm-project/commit/68adc028b42d069a8ea7f0719f16e6ab4c723678
DIFF: https://github.com/llvm/llvm-project/commit/68adc028b42d069a8ea7f0719f16e6ab4c723678.diff

LOG: [InstCombine][NFC] regenerate tests for simple_phi_condition.ll

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/simple_phi_condition.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/simple_phi_condition.ll b/llvm/test/Transforms/InstCombine/simple_phi_condition.ll
index 51b5e16627fc3..5501cb707e899 100644
--- a/llvm/test/Transforms/InstCombine/simple_phi_condition.ll
+++ b/llvm/test/Transforms/InstCombine/simple_phi_condition.ll
@@ -35,8 +35,8 @@ define i1 @test_inverted_implication(i1 %cond) {
 ; CHECK:       if.false:
 ; CHECK-NEXT:    br label [[MERGE]]
 ; CHECK:       merge:
-; CHECK-NEXT:    [[TMP0:%.*]] = xor i1 [[COND]], true
-; CHECK-NEXT:    ret i1 [[TMP0]]
+; CHECK-NEXT:    [[RET:%.*]] = xor i1 [[COND]], true
+; CHECK-NEXT:    ret i1 [[RET]]
 ;
 entry:
   br i1 %cond, label %if.true, label %if.false
@@ -129,8 +129,8 @@ define i1 @test_inverted_implication_complex_cfg(i1 %cond, i32 %cnt1) {
 ; CHECK:       if.false:
 ; CHECK-NEXT:    br label [[MERGE]]
 ; CHECK:       merge:
-; CHECK-NEXT:    [[TMP0:%.*]] = xor i1 [[COND]], true
-; CHECK-NEXT:    ret i1 [[TMP0]]
+; CHECK-NEXT:    [[RET:%.*]] = xor i1 [[COND]], true
+; CHECK-NEXT:    ret i1 [[RET]]
 ;
 entry:
   br i1 %cond, label %if.true, label %if.false
@@ -481,8 +481,8 @@ define i8 @test_switch_inverted(i8 %cond) {
 ; CHECK:       default:
 ; CHECK-NEXT:    ret i8 42
 ; CHECK:       merge:
-; CHECK-NEXT:    [[TMP0:%.*]] = xor i8 [[COND]], -1
-; CHECK-NEXT:    ret i8 [[TMP0]]
+; CHECK-NEXT:    [[RET:%.*]] = xor i8 [[COND]], -1
+; CHECK-NEXT:    ret i8 [[RET]]
 ;
 entry:
   switch i8 %cond, label %default [


        


More information about the llvm-commits mailing list