diff options
Diffstat (limited to 'test/CodeGen/SystemZ/insert-05.ll')
-rw-r--r-- | test/CodeGen/SystemZ/insert-05.ll | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/CodeGen/SystemZ/insert-05.ll b/test/CodeGen/SystemZ/insert-05.ll index da51676..b76859a 100644 --- a/test/CodeGen/SystemZ/insert-05.ll +++ b/test/CodeGen/SystemZ/insert-05.ll @@ -4,7 +4,7 @@ ; Prefer LHI over IILF for signed 16-bit constants. define i64 @f1(i64 %a) { -; CHECK: f1: +; CHECK-LABEL: f1: ; CHECK-NOT: ni ; CHECK: lhi %r2, 1 ; CHECK: br %r14 @@ -15,7 +15,7 @@ define i64 @f1(i64 %a) { ; Check the high end of the LHI range. define i64 @f2(i64 %a) { -; CHECK: f2: +; CHECK-LABEL: f2: ; CHECK-NOT: ni ; CHECK: lhi %r2, 32767 ; CHECK: br %r14 @@ -26,7 +26,7 @@ define i64 @f2(i64 %a) { ; Check the next value up, which should use IILF instead. define i64 @f3(i64 %a) { -; CHECK: f3: +; CHECK-LABEL: f3: ; CHECK-NOT: ni ; CHECK: iilf %r2, 32768 ; CHECK: br %r14 @@ -37,7 +37,7 @@ define i64 @f3(i64 %a) { ; Check a value in which the lower 16 bits are clear. define i64 @f4(i64 %a) { -; CHECK: f4: +; CHECK-LABEL: f4: ; CHECK-NOT: ni ; CHECK: iilf %r2, 65536 ; CHECK: br %r14 @@ -48,7 +48,7 @@ define i64 @f4(i64 %a) { ; Check the highest useful IILF value (-0x8001). define i64 @f5(i64 %a) { -; CHECK: f5: +; CHECK-LABEL: f5: ; CHECK-NOT: ni ; CHECK: iilf %r2, 4294934527 ; CHECK: br %r14 @@ -59,7 +59,7 @@ define i64 @f5(i64 %a) { ; Check the next value up, which should use LHI instead. define i64 @f6(i64 %a) { -; CHECK: f6: +; CHECK-LABEL: f6: ; CHECK-NOT: ni ; CHECK: lhi %r2, -32768 ; CHECK: br %r14 @@ -71,7 +71,7 @@ define i64 @f6(i64 %a) { ; Check the highest useful LHI value. (We use OILF for -1 instead, although ; LHI might be better there too.) define i64 @f7(i64 %a) { -; CHECK: f7: +; CHECK-LABEL: f7: ; CHECK-NOT: ni ; CHECK: lhi %r2, -2 ; CHECK: br %r14 @@ -83,7 +83,7 @@ define i64 @f7(i64 %a) { ; Check that SRLG is still used if some of the high bits are known to be 0 ; (and so might be removed from the mask). define i64 @f8(i64 %a) { -; CHECK: f8: +; CHECK-LABEL: f8: ; CHECK: srlg %r2, %r2, 1 ; CHECK-NEXT: iilf %r2, 32768 ; CHECK: br %r14 @@ -95,7 +95,7 @@ define i64 @f8(i64 %a) { ; Repeat f8 with addition, which is known to be equivalent to OR in this case. define i64 @f9(i64 %a) { -; CHECK: f9: +; CHECK-LABEL: f9: ; CHECK: srlg %r2, %r2, 1 ; CHECK-NEXT: iilf %r2, 32768 ; CHECK: br %r14 @@ -107,7 +107,7 @@ define i64 @f9(i64 %a) { ; Repeat f8 with already-zero bits removed from the mask. define i64 @f10(i64 %a) { -; CHECK: f10: +; CHECK-LABEL: f10: ; CHECK: srlg %r2, %r2, 1 ; CHECK-NEXT: iilf %r2, 32768 ; CHECK: br %r14 @@ -119,7 +119,7 @@ define i64 @f10(i64 %a) { ; Repeat f10 with addition, which is known to be equivalent to OR in this case. define i64 @f11(i64 %a) { -; CHECK: f11: +; CHECK-LABEL: f11: ; CHECK: srlg %r2, %r2, 1 ; CHECK-NEXT: iilf %r2, 32768 ; CHECK: br %r14 @@ -131,7 +131,7 @@ define i64 @f11(i64 %a) { ; Check the lowest useful IIHF value. define i64 @f12(i64 %a) { -; CHECK: f12: +; CHECK-LABEL: f12: ; CHECK-NOT: ni ; CHECK: iihf %r2, 1 ; CHECK: br %r14 @@ -142,7 +142,7 @@ define i64 @f12(i64 %a) { ; Check a value in which the lower 16 bits are clear. define i64 @f13(i64 %a) { -; CHECK: f13: +; CHECK-LABEL: f13: ; CHECK-NOT: ni ; CHECK: iihf %r2, 2147483648 ; CHECK: br %r14 @@ -153,7 +153,7 @@ define i64 @f13(i64 %a) { ; Check the highest useful IIHF value (0xfffffffe). define i64 @f14(i64 %a) { -; CHECK: f14: +; CHECK-LABEL: f14: ; CHECK-NOT: ni ; CHECK: iihf %r2, 4294967294 ; CHECK: br %r14 @@ -165,7 +165,7 @@ define i64 @f14(i64 %a) { ; Check a case in which some of the low 32 bits are known to be clear, ; and so could be removed from the AND mask. define i64 @f15(i64 %a) { -; CHECK: f15: +; CHECK-LABEL: f15: ; CHECK: sllg %r2, %r2, 1 ; CHECK-NEXT: iihf %r2, 1 ; CHECK: br %r14 @@ -177,7 +177,7 @@ define i64 @f15(i64 %a) { ; Repeat f15 with the zero bits explicitly removed from the mask. define i64 @f16(i64 %a) { -; CHECK: f16: +; CHECK-LABEL: f16: ; CHECK: sllg %r2, %r2, 1 ; CHECK-NEXT: iihf %r2, 1 ; CHECK: br %r14 @@ -189,7 +189,7 @@ define i64 @f16(i64 %a) { ; Check concatenation of two i32s. define i64 @f17(i32 %a) { -; CHECK: f17: +; CHECK-LABEL: f17: ; CHECK: msr %r2, %r2 ; CHECK-NEXT: iihf %r2, 1 ; CHECK: br %r14 @@ -201,7 +201,7 @@ define i64 @f17(i32 %a) { ; Repeat f17 with the operands reversed. define i64 @f18(i32 %a) { -; CHECK: f18: +; CHECK-LABEL: f18: ; CHECK: msr %r2, %r2 ; CHECK-NEXT: iihf %r2, 1 ; CHECK: br %r14 @@ -213,7 +213,7 @@ define i64 @f18(i32 %a) { ; The truncation here isn't free; we need an explicit zero extension. define i64 @f19(i32 %a) { -; CHECK: f19: +; CHECK-LABEL: f19: ; CHECK: llgcr %r2, %r2 ; CHECK: oihl %r2, 1 ; CHECK: br %r14 |