diff --git a/llvm/test/Analysis/MemorySSA/phi-translation.ll b/llvm/test/Analysis/MemorySSA/phi-translation.ll --- a/llvm/test/Analysis/MemorySSA/phi-translation.ll +++ b/llvm/test/Analysis/MemorySSA/phi-translation.ll @@ -432,7 +432,7 @@ ; 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 --- a/llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll +++ b/llvm/test/CodeGen/AArch64/kcfi-patchable-function-prefix.ll @@ -11,7 +11,7 @@ } ; 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 --- a/llvm/test/CodeGen/AMDGPU/fneg-combines.ll +++ b/llvm/test/CodeGen/AMDGPU/fneg-combines.ll @@ -569,7 +569,7 @@ ; 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 --- a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll +++ b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll @@ -14,7 +14,7 @@ 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 --- a/llvm/test/Transforms/FunctionSpecialization/specialization-order.ll +++ b/llvm/test/Transforms/FunctionSpecialization/specialization-order.ll @@ -37,8 +37,8 @@ } 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 @@ ; 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 --- 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 i32 @g(i32 %y) { ; CHECK-LABEL: @g( -; CHECK-NEXT %x = call i32 @f(i32 %y) ; [#uses=1] +; CHECK-NEXT: %x = call i32 @f(i32 %y) ; [#uses=1] %x = call i32 @f( i32 %y ) ; [#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 --- a/llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/remove_scev_indvars.ll @@ -16,7 +16,7 @@ ; 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: