[Hexagon] Fixing load instruction parsing and reenabling tests.
[oota-llvm.git] / test / CodeGen / PowerPC / rlwimi2.ll
index 59a36555bf86772a5322f17dd6ca5ec6c77326e8..7978718b5a389eb1846079dc620cd58ad389cf84 100644 (file)
@@ -1,10 +1,10 @@
 ; All of these ands and shifts should be folded into rlwimi's
 ; RUN: llc < %s -march=ppc32 -o %t
-; RUN: grep rlwimi %t | count 3
-; RUN: grep srwi   %t | count 1
+; RUN: grep rlwimi %t | count 4
+; RUN: not grep srwi %t
 ; 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]