Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git] / test / CodeGen / SystemZ / int-cmp-10.ll
index f2d3ccd64af6206b3ca45f51269639787d557a4f..937b1bccffa3051f0485a7484ac7f44a2e149625 100644 (file)
@@ -7,7 +7,7 @@
 define double @f1(double %a, double %b, i32 %i1) {
 ; CHECK: f1:
 ; CHECK: clfi %r2, 1
-; CHECK-NEXT: j{{g?}}h
+; CHECK-NEXT: jh
 ; CHECK: ldr %f0, %f2
 ; CHECK: br %r14
   %cond = icmp ugt i32 %i1, 1
@@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i32 %i1) {
 define double @f2(double %a, double %b, i32 %i1) {
 ; CHECK: f2:
 ; CHECK: clfi %r2, 4294967280
-; CHECK-NEXT: j{{g?}}l
+; CHECK-NEXT: jl
 ; CHECK: ldr %f0, %f2
 ; CHECK: br %r14
   %cond = icmp ult i32 %i1, 4294967280