Try again to revert the bad patch. The tree was reverted for some unknown reason
[oota-llvm.git] / test / CodeGen / PowerPC / rlwimi2.ll
index 3cb2e7be34e000ee1a701d0f440d0c6761e815c6..1bee4e03f1b0617009415d8fd2748e3d4a27d3bc 100644 (file)
@@ -1,10 +1,10 @@
 ; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < %s | llc -march=ppc32 -o %t
+; RUN: llc < %s -march=ppc32 -o %t
 ; RUN: grep rlwimi %t | count 3
 ; RUN: grep srwi   %t | count 1
 ; RUN: not grep slwi %t
 
-define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) {
+define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) nounwind {
 entry:
        %tmp.1 = shl i32 %srcA, 15              ; <i32> [#uses=1]
        %tmp.4 = and i32 %tmp.1, 32505856               ; <i32> [#uses=1]