summaryrefslogtreecommitdiff
path: root/test/Feature/inlineasm.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-01 07:38:40 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-01 07:38:40 +0000
commit9bc243b2517f4f1aef3319ba01ea6f0788e87cb6 (patch)
treee3b7a85489213ca435df8fdecb7a12601e2f00ac /test/Feature/inlineasm.ll
parente5101bf52c8c9b96e072c10f1a141ef021971137 (diff)
downloadllvm-9bc243b2517f4f1aef3319ba01ea6f0788e87cb6.tar.gz
llvm-9bc243b2517f4f1aef3319ba01ea6f0788e87cb6.tar.bz2
llvm-9bc243b2517f4f1aef3319ba01ea6f0788e87cb6.tar.xz
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/inlineasm.ll')
-rw-r--r--test/Feature/inlineasm.ll13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/Feature/inlineasm.ll b/test/Feature/inlineasm.ll
index fdb4657c67..e4318f775b 100644
--- a/test/Feature/inlineasm.ll
+++ b/test/Feature/inlineasm.ll
@@ -1,14 +1,13 @@
-; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > t1.ll
+; RUN: llvm-as < %s | llvm-dis > t1.ll
; RUN: llvm-as t1.ll -o - | llvm-dis > t2.ll
; RUN: diff t1.ll t2.ll
-
module asm "this is an inline asm block"
module asm "this is another inline asm block"
-int %test() {
- %X = call int asm "tricky here $0, $1", "=r,r"(int 4)
- call void asm sideeffect "eieio", ""()
- ret int %X
+define i32 @test() {
+ %X = call i32 asm "tricky here $0, $1", "=r,r"( i32 4 ) ; <i32> [#uses=1]
+ call void asm sideeffect "eieio", ""( )
+ ret i32 %X
}
+