Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / CodeGen / PowerPC / ispositive.ll
blob824f721402e5c37a591555fcd406060ae5f4ac45
1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | \
2 ; RUN:   grep "srwi r3, r3, 31"
4 define i32 @test1(i32 %X) {
5 entry:
6         icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]
7         zext i1 %0 to i32               ; <i32>:1 [#uses=1]
8         ret i32 %1