manually upgrade a bunch of tests to modern syntax, and remove some that
[oota-llvm.git] / test / CodeGen / PowerPC / inlineasm-copy.ll
index 60775e3c25e41b5275102352dddf8fbc4362d9b3..e1ff82d5f9b7f17caf70c1491be695bc50190294 100644 (file)
@@ -1,14 +1,14 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep mr
+; RUN: llc < %s -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
 }
+