aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-29 22:34:55 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-29 22:34:55 +0000
commit8ad87ab166062d7f1c1b936affd6d842b0f56169 (patch)
treec8221b3b190b50cdf032dfa3989f27405bac29d4
parent013d15a677f70aa9c91fa09707e5d4248146b99d (diff)
downloadexternal_llvm-8ad87ab166062d7f1c1b936affd6d842b0f56169.zip
external_llvm-8ad87ab166062d7f1c1b936affd6d842b0f56169.tar.gz
external_llvm-8ad87ab166062d7f1c1b936affd6d842b0f56169.tar.bz2
Fix some broken CHECK lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120332 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/atomic_op.ll2
-rw-r--r--test/MC/ELF/relocation.s2
-rw-r--r--test/Transforms/DeadStoreElimination/simple.ll2
-rw-r--r--test/Transforms/SimplifyLibCalls/StrSpn.ll2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/atomic_op.ll b/test/CodeGen/X86/atomic_op.ll
index 84bae46..f3ade93 100644
--- a/test/CodeGen/X86/atomic_op.ll
+++ b/test/CodeGen/X86/atomic_op.ll
@@ -112,7 +112,7 @@ entry:
define void @test2(i32 addrspace(256)* nocapture %P) nounwind {
entry:
; CHECK: lock
-; CEHCK: cmpxchgl %{{.*}}, %gs:(%{{.*}})
+; CHECK: cmpxchgl %{{.*}}, %gs:(%{{.*}})
%0 = tail call i32 @llvm.atomic.cmp.swap.i32.p256i32(i32 addrspace(256)* %P, i32 0, i32 1)
ret void
diff --git a/test/MC/ELF/relocation.s b/test/MC/ELF/relocation.s
index 8d38b86..663c91e 100644
--- a/test/MC/ELF/relocation.s
+++ b/test/MC/ELF/relocation.s
@@ -21,7 +21,7 @@ bar:
// CHECK: # Symbol 0x00000002
// CHECK: (('st_name', 0x00000000) # ''
// CHECK: ('st_bind', 0x00000000)
-// CHECK ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x00000003)
// CHECK: ('st_other', 0x00000000)
// CHECK: ('st_shndx', 0x00000001)
diff --git a/test/Transforms/DeadStoreElimination/simple.ll b/test/Transforms/DeadStoreElimination/simple.ll
index ab0ef7b..6aba1d2 100644
--- a/test/Transforms/DeadStoreElimination/simple.ll
+++ b/test/Transforms/DeadStoreElimination/simple.ll
@@ -27,7 +27,7 @@ define void @test2(i32 *%p, i32 *%q) {
define i32 @test3(i32* %g_addr) nounwind {
; CHECK: @test3
-; CHEcK: load i32* %g_addr
+; CHECK: load i32* %g_addr
%g_value = load i32* %g_addr, align 4
store i32 -1, i32* @g, align 4
store i32 %g_value, i32* %g_addr, align 4
diff --git a/test/Transforms/SimplifyLibCalls/StrSpn.ll b/test/Transforms/SimplifyLibCalls/StrSpn.ll
index f77f32c..800c190 100644
--- a/test/Transforms/SimplifyLibCalls/StrSpn.ll
+++ b/test/Transforms/SimplifyLibCalls/StrSpn.ll
@@ -19,7 +19,7 @@ define i64 @testspn(i8* %s1, i8* %s2) {
%test4 = call i64 @strspn(i8* %s1, i8* %s2)
; CHECK: call i64 @strspn(i8* %s1, i8* %s2)
ret i64 %test3
-; CHECK ret i64 5
+; CHECK: ret i64 5
}
declare i64 @strcspn(i8*, i8*)