diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-28 06:03:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-28 06:03:12 +0000 |
commit | 93e3d8f3083593d701fd72b42ca7a680f9e48614 (patch) | |
tree | 649e7c3984381b0182d1f1caa24dec82c77c7e9c /test | |
parent | 83f241ec613190217869c28f62551c111ad30bf7 (diff) | |
download | llvm-93e3d8f3083593d701fd72b42ca7a680f9e48614.tar.gz llvm-93e3d8f3083593d701fd72b42ca7a680f9e48614.tar.bz2 llvm-93e3d8f3083593d701fd72b42ca7a680f9e48614.tar.xz |
update syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/inlineasm.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/Generic/2006-12-16-InlineAsmCrash.ll | 2 | ||||
-rw-r--r-- | test/Transforms/Inline/2007-04-15-InlineEH.ll | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/inlineasm.ll b/test/CodeGen/ARM/inlineasm.ll index fd9498704b..2f7332a5f4 100644 --- a/test/CodeGen/ARM/inlineasm.ll +++ b/test/CodeGen/ARM/inlineasm.ll @@ -6,7 +6,7 @@ define i32 @test1(i32 %tmp54) { } define void @test2() { - %tmp1 = call i64 asm "ldmia $1!, {$0, ${0:H}}", "=r,==r,1"( i32** null, i32* null ) ; <i64> [#uses=2] + %tmp1 = call i64 asm "ldmia $1!, {$0, ${0:H}}", "=r,=*r,1"( i32** null, i32* null ) ; <i64> [#uses=2] %tmp2 = lshr i64 %tmp1, 32 ; <i64> [#uses=1] %tmp3 = trunc i64 %tmp2 to i32 ; <i32> [#uses=1] %tmp4 = call i32 asm "pkhbt $0, $1, $2, lsl #16", "=r,r,r"( i32 0, i32 %tmp3 ) ; <i32> [#uses=0] diff --git a/test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll b/test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll index 94cc0d3c67..0f2da53cbc 100644 --- a/test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll +++ b/test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll @@ -9,12 +9,12 @@ implementation ; Functions: int %_ZN9__gnu_cxx18__exchange_and_addEPVii(int* %__mem, int %__val) { entry: %__tmp = alloca int, align 4 ; <int*> [#uses=1] - %tmp3 = call int asm sideeffect "\0A$$Lxadd_0:\0A\09ldl_l $0,$3\0A\09addl $0,$4,$1\0A\09stl_c $1,$2\0A\09beq $1,$$Lxadd_0\0A\09mb", "=&r,==&r,==m,m,r"( int* %__tmp, int* %__mem, int* %__mem, int %__val ) ; <int> [#uses=1] + %tmp3 = call int asm sideeffect "\0A$$Lxadd_0:\0A\09ldl_l $0,$3\0A\09addl $0,$4,$1\0A\09stl_c $1,$2\0A\09beq $1,$$Lxadd_0\0A\09mb", "=&r,=*&r,=*m,m,r"( int* %__tmp, int* %__mem, int* %__mem, int %__val ) ; <int> [#uses=1] ret int %tmp3 } void %_ZN9__gnu_cxx12__atomic_addEPVii(int* %__mem, int %__val) { entry: - %tmp2 = call int asm sideeffect "\0A$$Ladd_1:\0A\09ldl_l $0,$2\0A\09addl $0,$3,$0\0A\09stl_c $0,$1\0A\09beq $0,$$Ladd_1\0A\09mb", "=&r,==m,m,r"( int* %__mem, int* %__mem, int %__val ) ; <int> [#uses=0] + %tmp2 = call int asm sideeffect "\0A$$Ladd_1:\0A\09ldl_l $0,$2\0A\09addl $0,$3,$0\0A\09stl_c $0,$1\0A\09beq $0,$$Ladd_1\0A\09mb", "=&r,=*m,m,r"( int* %__mem, int* %__mem, int %__val ) ; <int> [#uses=0] ret void } diff --git a/test/CodeGen/Generic/2006-12-16-InlineAsmCrash.ll b/test/CodeGen/Generic/2006-12-16-InlineAsmCrash.ll index c8467ec1e7..e4a390600f 100644 --- a/test/CodeGen/Generic/2006-12-16-InlineAsmCrash.ll +++ b/test/CodeGen/Generic/2006-12-16-InlineAsmCrash.ll @@ -27,7 +27,7 @@ bool %_ZNK12QImageWriter8canWriteEv() { %tmp62 = load %struct.QImageWriterPrivate** null ; <%struct.QImageWriterPrivate*> [#uses=1] %tmp = getelementptr %struct.QImageWriterPrivate* %tmp62, int 0, uint 9 ; <%struct.QString*> [#uses=1] %tmp75 = call %struct.QString* %_ZN7QStringaSERKS_( %struct.QString* %tmp, %struct.QString* null ) ; <%struct.QString*> [#uses=0] - call void asm sideeffect "lock\0Adecl $0\0Asetne 1", "==m"( int* null ) + call void asm sideeffect "lock\0Adecl $0\0Asetne 1", "=*m"( int* null ) ret bool false } diff --git a/test/Transforms/Inline/2007-04-15-InlineEH.ll b/test/Transforms/Inline/2007-04-15-InlineEH.ll index 4984354d18..73b0e215e8 100644 --- a/test/Transforms/Inline/2007-04-15-InlineEH.ll +++ b/test/Transforms/Inline/2007-04-15-InlineEH.ll @@ -8,7 +8,7 @@ target triple = "i686-pc-linux-gnu" define void @bc__support__high_resolution_time__clock() { entry: - call void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "==imr,==imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null ) + call void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null ) unreachable } |