[NVPTX] Add missing patterns for div.approx with immediate denominator
[oota-llvm.git] / test / CodeGen / PowerPC / rlwimi2.ll
index 33eaacf8b4facd905b2eecdcb216d270d2814533..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 -f
+; 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]