[llvm-branch-commits] [llvm] 55c06a3 - [NFC][InstCombine] sext.ll: @test9: avoid only differently-cased names for values and block names

Roman Lebedev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 1 04:38:23 PST 2020


Author: Roman Lebedev
Date: 2020-12-01T15:33:12+03:00
New Revision: 55c06a3070340124a726d1d030559856ed2da168

URL: https://github.com/llvm/llvm-project/commit/55c06a3070340124a726d1d030559856ed2da168
DIFF: https://github.com/llvm/llvm-project/commit/55c06a3070340124a726d1d030559856ed2da168.diff

LOG: [NFC][InstCombine] sext.ll: @test9: avoid only differently-cased names for values and block names

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/sext.ll b/llvm/test/Transforms/InstCombine/sext.ll
index 31923fd70597..ebab23a19525 100644
--- a/llvm/test/Transforms/InstCombine/sext.ll
+++ b/llvm/test/Transforms/InstCombine/sext.ll
@@ -105,21 +105,22 @@ define i32 @test8(i8 %a, i32 %f, i1 %p, i32* %z) {
 define i16 @test9(i16 %t, i1 %cond) {
 ; CHECK-LABEL: @test9(
 ; CHECK-NEXT:  entry:
-; CHECK-NEXT:    br i1 [[COND:%.*]], label [[T:%.*]], label [[F:%.*]]
-; CHECK:       T:
-; CHECK-NEXT:    br label [[F]]
-; CHECK:       F:
-; CHECK-NEXT:    [[V_OFF0:%.*]] = phi i16 [ [[T:%.*]], [[T]] ], [ 42, [[ENTRY:%.*]] ]
+; CHECK-NEXT:    br i1 [[COND:%.*]], label [[TBB:%.*]], label [[FBB:%.*]]
+; CHECK:       TBB:
+; CHECK-NEXT:    br label [[FBB]]
+; CHECK:       FBB:
+; CHECK-NEXT:    [[V_OFF0:%.*]] = phi i16 [ [[T:%.*]], [[TBB]] ], [ 42, [[ENTRY:%.*]] ]
 ; CHECK-NEXT:    ret i16 [[V_OFF0]]
 ;
 entry:
-  br i1 %cond, label %T, label %F
-T:
+  br i1 %cond, label %TBB, label %FBB
+
+TBB:
   %t2 = sext i16 %t to i32
-  br label %F
+  br label %FBB
 
-F:
-  %V = phi i32 [%t2, %T], [42, %entry]
+FBB:
+  %V = phi i32 [%t2, %TBB], [42, %entry]
   %W = trunc i32 %V to i16
   ret i16 %W
 }


        


More information about the llvm-branch-commits mailing list