mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Fix some broken CHECK lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -112,7 +112,7 @@ entry:
|
|||||||
define void @test2(i32 addrspace(256)* nocapture %P) nounwind {
|
define void @test2(i32 addrspace(256)* nocapture %P) nounwind {
|
||||||
entry:
|
entry:
|
||||||
; CHECK: lock
|
; 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)
|
%0 = tail call i32 @llvm.atomic.cmp.swap.i32.p256i32(i32 addrspace(256)* %P, i32 0, i32 1)
|
||||||
ret void
|
ret void
|
||||||
|
@@ -21,7 +21,7 @@ bar:
|
|||||||
// CHECK: # Symbol 0x00000002
|
// CHECK: # Symbol 0x00000002
|
||||||
// CHECK: (('st_name', 0x00000000) # ''
|
// CHECK: (('st_name', 0x00000000) # ''
|
||||||
// CHECK: ('st_bind', 0x00000000)
|
// CHECK: ('st_bind', 0x00000000)
|
||||||
// CHECK ('st_type', 0x00000003)
|
// CHECK: ('st_type', 0x00000003)
|
||||||
// CHECK: ('st_other', 0x00000000)
|
// CHECK: ('st_other', 0x00000000)
|
||||||
// CHECK: ('st_shndx', 0x00000001)
|
// CHECK: ('st_shndx', 0x00000001)
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ define void @test2(i32 *%p, i32 *%q) {
|
|||||||
|
|
||||||
define i32 @test3(i32* %g_addr) nounwind {
|
define i32 @test3(i32* %g_addr) nounwind {
|
||||||
; CHECK: @test3
|
; CHECK: @test3
|
||||||
; CHEcK: load i32* %g_addr
|
; CHECK: load i32* %g_addr
|
||||||
%g_value = load i32* %g_addr, align 4
|
%g_value = load i32* %g_addr, align 4
|
||||||
store i32 -1, i32* @g, align 4
|
store i32 -1, i32* @g, align 4
|
||||||
store i32 %g_value, i32* %g_addr, align 4
|
store i32 %g_value, i32* %g_addr, align 4
|
||||||
|
@@ -19,7 +19,7 @@ define i64 @testspn(i8* %s1, i8* %s2) {
|
|||||||
%test4 = call i64 @strspn(i8* %s1, i8* %s2)
|
%test4 = call i64 @strspn(i8* %s1, i8* %s2)
|
||||||
; CHECK: call i64 @strspn(i8* %s1, i8* %s2)
|
; CHECK: call i64 @strspn(i8* %s1, i8* %s2)
|
||||||
ret i64 %test3
|
ret i64 %test3
|
||||||
; CHECK ret i64 5
|
; CHECK: ret i64 5
|
||||||
}
|
}
|
||||||
|
|
||||||
declare i64 @strcspn(i8*, i8*)
|
declare i64 @strcspn(i8*, i8*)
|
||||||
|
Reference in New Issue
Block a user