git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120332
91177308-0d34-0410-b5e6-
96231b3b80d8
define void @test2(i32 addrspace(256)* nocapture %P) nounwind {
entry:
; CHECK: lock
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
%0 = tail call i32 @llvm.atomic.cmp.swap.i32.p256i32(i32 addrspace(256)* %P, i32 0, i32 1)
ret void
// CHECK: # Symbol 0x00000002
// CHECK: (('st_name', 0x00000000) # ''
// CHECK: ('st_bind', 0x00000000)
// 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)
// CHECK: ('st_other', 0x00000000)
// CHECK: ('st_shndx', 0x00000001)
define i32 @test3(i32* %g_addr) nounwind {
; CHECK: @test3
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
%g_value = load i32* %g_addr, align 4
store i32 -1, i32* @g, align 4
store i32 %g_value, i32* %g_addr, align 4
%test4 = call i64 @strspn(i8* %s1, i8* %s2)
; CHECK: call i64 @strspn(i8* %s1, i8* %s2)
ret i64 %test3
%test4 = call i64 @strspn(i8* %s1, i8* %s2)
; CHECK: call i64 @strspn(i8* %s1, i8* %s2)
ret i64 %test3
}
declare i64 @strcspn(i8*, i8*)
}
declare i64 @strcspn(i8*, i8*)