summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/inlineasm-copy.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-19 08:07:33 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-19 08:07:33 +0000
commitcfab3da46e1e8e9ed4fafa018e0d28bb5913dde2 (patch)
treefb23c878019caf961242d6922d065dfae51fb7ca /test/CodeGen/PowerPC/inlineasm-copy.ll
parent1459c5d8e1fe827a7e4b6d790452b4b64dade634 (diff)
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/inlineasm-copy.ll')
-rw-r--r--test/CodeGen/PowerPC/inlineasm-copy.ll15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/CodeGen/PowerPC/inlineasm-copy.ll b/test/CodeGen/PowerPC/inlineasm-copy.ll
index 34594d2ff23..c0a397982ad 100644
--- a/test/CodeGen/PowerPC/inlineasm-copy.ll
+++ b/test/CodeGen/PowerPC/inlineasm-copy.ll
@@ -1,13 +1,14 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mr
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep mr
-int %test(int %Y, int %X) {
+define i32 @test(i32 %Y, i32 %X) {
entry:
- %tmp = tail call int asm "foo $0", "=r"( ) ; <int> [#uses=1]
- ret int %tmp
+ %tmp = tail call i32 asm "foo $0", "=r"( ) ; <i32> [#uses=1]
+ ret i32 %tmp
}
-int %test2(int %Y, int %X) {
+define i32 @test2(i32 %Y, i32 %X) {
entry:
- %tmp1 = tail call int asm "foo $0, $1", "=r,r"( int %X ) ; <int> [#uses=1]
- ret int %tmp1
+ %tmp1 = tail call i32 asm "foo $0, $1", "=r,r"( i32 %X ) ; <i32> [#uses=1]
+ ret i32 %tmp1
}
+