Try again to revert the bad patch. The tree was reverted for some unknown reason
[oota-llvm.git] / test / CodeGen / PowerPC / 2007-04-24-InlineAsm-I-Modifier.ll
index 8405703b0eafe17d367b331bf459271df1060b4c..73736c57fea6002d26b8d434f374024deb564ca1 100644 (file)
@@ -1,15 +1,14 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | grep {foo r3, r4}
-; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | grep {bar r3, r}
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | grep "foo r3, r4"
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | grep "bari r3, 47"
 
 ; PR1351
 
-define i32 @test1(i32 %Y, i32 %X) {
+define i32 @test1(i32 %Y, i32 %X) nounwind {
        %tmp1 = tail call i32 asm "foo${1:I} $0, $1", "=r,rI"( i32 %X )
        ret i32 %tmp1
 }
 
-;; TODO: We'd actually prefer this to be 'bari r3, 47', but 'bar r3, rN' is also ok.
-define i32 @test2(i32 %Y, i32 %X) {
+define i32 @test2(i32 %Y, i32 %X) nounwind {
        %tmp1 = tail call i32 asm "bar${1:I} $0, $1", "=r,rI"( i32 47 )
        ret i32 %tmp1
 }