[llvm] bfb1559 - [NFC] Fix missing colon in CHECK directives

Shivam Gupta via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 10:43:00 PST 2023


Author: Tiwari Abhinav Ashok Kumar
Date: 2023-02-21T00:13:04+05:30
New Revision: bfb1559fbe2fb656f335a6b7a86e0d8e90fa72fb

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

LOG: [NFC] Fix missing colon in CHECK directives

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D144412

Added: 
    

Modified: 
    llvm/test/Analysis/MemorySSA/phi-translation.ll
    llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll
    llvm/test/CodeGen/AMDGPU/fneg-combines.ll
    llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
    llvm/test/Transforms/FunctionSpecialization/specialization-order.ll
    llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
    llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/MemorySSA/phi-translation.ll b/llvm/test/Analysis/MemorySSA/phi-translation.ll
index 46a49d4965737..3fa9691ea95da 100644
--- a/llvm/test/Analysis/MemorySSA/phi-translation.ll
+++ b/llvm/test/Analysis/MemorySSA/phi-translation.ll
@@ -432,7 +432,7 @@ define i32 @phi_with_constant_values(i1 %cmp) {
 
 ; CHECK-LABEL: merge:
 ; CHECK:       ; 3 = MemoryPhi({lhs,1},{rhs,2})
-; CHECK-NEXT   %storemerge2 = phi i32 [ 2, %lhs ], [ 3, %rhs ]
+; CHECK-NEXT:   %storemerge2 = phi i32 [ 2, %lhs ], [ 3, %rhs ]
 ; LIMIT:       ; MemoryUse(3)
 ; LIMIT-NEXT:  %lv = load i16, ptr %arrayidx, align 2
 ; NOLIMIT:     ; MemoryUse(liveOnEntry)

diff  --git a/llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll b/llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll
index fe9036e8d8908..e5cf0d6200475 100644
--- a/llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll
+++ b/llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll
@@ -11,7 +11,7 @@ define void @f1(ptr noundef %x) !kcfi_type !1 {
 }
 
 ; CHECK:          .p2align 2
-; CHECK-NOT       .word
+; CHECK-NOT:       .word
 ; CHECK-NOT:        nop
 ; CHECK-LABEL:    f2:
 define void @f2(ptr noundef %x) {

diff  --git a/llvm/test/CodeGen/AMDGPU/fneg-combines.ll b/llvm/test/CodeGen/AMDGPU/fneg-combines.ll
index bc92f2ad88137..028ea473e8959 100644
--- a/llvm/test/CodeGen/AMDGPU/fneg-combines.ll
+++ b/llvm/test/CodeGen/AMDGPU/fneg-combines.ll
@@ -569,7 +569,7 @@ define amdgpu_ps float @v_fneg_negk_minnum_f32_no_ieee(float %a) #0 {
 
 ; GCN-LABEL: {{^}}v_fneg_0_minnum_f32:
 ; GCN: {{buffer|flat}}_load_dword [[A:v[0-9]+]]
-; GCN-NOT [[A]]
+; GCN-NOT: [[A]]
 ; GCN: v_min_f32_e32 [[MIN:v[0-9]+]], 0, [[A]]
 ; GCN: v_xor_b32_e32 [[RESULT:v[0-9]+]], 0x80000000, [[MIN]]
 ; GCN: flat_store_dword v{{\[[0-9]+:[0-9]+\]}}, [[RESULT]]

diff  --git a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
index 5c89ea5347feb..4f2000640185d 100644
--- a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
+++ b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
@@ -14,7 +14,7 @@ define dso_local float @fma(float %0, float %1, float %2) local_unnamed_addr #0
 declare void @llvm.dbg.value(metadata, metadata, metadata) #1
 
 ; CHECK: attributes #0 = { nounwind memory(none) }
-; CHECK-NOT attributes #
+; CHECK-NOT: attributes #
 
 attributes #0 = { norecurse nounwind readnone willreturn }
 attributes #1 = { nofree nosync nounwind readnone speculatable willreturn }

diff  --git a/llvm/test/Transforms/FunctionSpecialization/specialization-order.ll b/llvm/test/Transforms/FunctionSpecialization/specialization-order.ll
index e8622f07f6339..cc1675db5137c 100644
--- a/llvm/test/Transforms/FunctionSpecialization/specialization-order.ll
+++ b/llvm/test/Transforms/FunctionSpecialization/specialization-order.ll
@@ -37,8 +37,8 @@ entry:
 }
 
 define dso_local i32 @g2(i32 %x, i32 %y, ptr %v) {
-; CHECK-LABEL @g2
-; CHECK       call i32 @f.1(i32 [[X:%.*]], i32 [[Y:%.*]], ptr [[V:%.*]])
+; CHECK-LABEL: @g2
+; CHECK:       call i32 @f.1(i32 [[X:%.*]], i32 [[Y:%.*]], ptr [[V:%.*]])
 entry:
   %call = tail call i32 @f(i32 %x, i32 %y, ptr @sub, ptr %v)
   ret i32 %call
@@ -54,5 +54,5 @@ entry:
 
 ; CHECK-LABEL: define {{.*}} i32 @f.3
 ; CHECK:       call i32 @add(i32 %x, i32 %y)
-; CHECK-NEXT   call i32 @add(i32 %x, i32 %y)
+; CHECK-NEXT:   call i32 @add(i32 %x, i32 %y)
 

diff  --git a/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll b/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
index d6268e5099c8a..95a3f5abfa439 100644
--- a/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
+++ b/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
@@ -6,7 +6,7 @@ define void @f(i16 %y) {
 
 define i32 @g(i32 %y) {
 ; CHECK-LABEL: @g(
-; CHECK-NEXT %x = call i32 @f(i32 %y)		; <i32> [#uses=1]
+; CHECK-NEXT: %x = call i32 @f(i32 %y)		; <i32> [#uses=1]
   %x = call i32 @f( i32 %y )		; <i32> [#uses=1]
   ret i32 %x
 }

diff  --git a/llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll b/llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll
index 2de77d4a5912f..ffdd93ef6e456 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll
@@ -16,7 +16,7 @@ for.body:
 
 ; CHECK: entry:
 ; CHECK: %0 = add i64 %n, %m
-; CHECK-NOT : %indvars.iv.next.prol
+; CHECK-NOT: %indvars.iv.next.prol
 ; CHECK-NOT: %indvars.iv.prol
 ; CHECK: %indvars.iv.unr = phi i64 [ %0, %for.exit ]
 for.exit:


        


More information about the llvm-commits mailing list