[SystemZ] Add unsigned compare-and-branch instructions
[oota-llvm.git] / test / CodeGen / SystemZ / frame-01.ll
index ad1ee533724ab00bdfd1c10a6cc4ac287f246bce..f61836ca8552b6e46d393fd69d816a4f9b215090 100644 (file)
@@ -7,7 +7,7 @@ declare void @foo(i32 *)
 
 ; The CFA offset is 160 (the caller-allocated part of the frame) + 168.
 define void @f1(i64 %x) {
-; CHECK: f1:
+; CHECK-LABEL: f1:
 ; CHECK: aghi %r15, -168
 ; CHECK: .cfi_def_cfa_offset 328
 ; CHECK: stg %r2, 160(%r15)
@@ -24,7 +24,7 @@ define void @f1(i64 %x) {
 ; 12-bit offsets that end up being out of range.  Fill the remaining
 ; 32760 - 176 bytes by allocating (32760 - 176) / 8 = 4073 doublewords.
 define void @f2(i64 %x) {
-; CHECK: f2:
+; CHECK-LABEL: f2:
 ; CHECK: aghi %r15, -32760
 ; CHECK: .cfi_def_cfa_offset 32920
 ; CHECK: stg %r2, 176(%r15)
@@ -39,7 +39,7 @@ define void @f2(i64 %x) {
 ; Allocate one more doubleword.  This is the one frame size that we can
 ; allocate using AGHI but must free using AGFI.
 define void @f3(i64 %x) {
-; CHECK: f3:
+; CHECK-LABEL: f3:
 ; CHECK: aghi %r15, -32768
 ; CHECK: .cfi_def_cfa_offset 32928
 ; CHECK: stg %r2, 176(%r15)
@@ -54,7 +54,7 @@ define void @f3(i64 %x) {
 ; Allocate another doubleword on top of that.  The allocation and free
 ; must both use AGFI.
 define void @f4(i64 %x) {
-; CHECK: f4:
+; CHECK-LABEL: f4:
 ; CHECK: agfi %r15, -32776
 ; CHECK: .cfi_def_cfa_offset 32936
 ; CHECK: stg %r2, 176(%r15)
@@ -69,7 +69,7 @@ define void @f4(i64 %x) {
 ; The largest size that can be both allocated and freed using AGFI.
 ; At this point the frame is too big to represent properly in the CFI.
 define void @f5(i64 %x) {
-; CHECK: f5:
+; CHECK-LABEL: f5:
 ; CHECK: agfi %r15, -2147483640
 ; CHECK: stg %r2, 176(%r15)
 ; CHECK: agfi %r15, 2147483640
@@ -83,7 +83,7 @@ define void @f5(i64 %x) {
 ; The only frame size that can be allocated using a single AGFI but which
 ; must be freed using two instructions.
 define void @f6(i64 %x) {
-; CHECK: f6:
+; CHECK-LABEL: f6:
 ; CHECK: agfi %r15, -2147483648
 ; CHECK: stg %r2, 176(%r15)
 ; CHECK: agfi %r15, 2147483640
@@ -98,7 +98,7 @@ define void @f6(i64 %x) {
 ; The smallest frame size that needs two instructions to both allocate
 ; and free the frame.
 define void @f7(i64 %x) {
-; CHECK: f7:
+; CHECK-LABEL: f7:
 ; CHECK: agfi %r15, -2147483648
 ; CHECK: aghi %r15, -8
 ; CHECK: stg %r2, 176(%r15)
@@ -113,7 +113,7 @@ define void @f7(i64 %x) {
 
 ; Make sure that LA can be rematerialized.
 define void @f8() {
-; CHECK: f8:
+; CHECK-LABEL: f8:
 ; CHECK: la %r2, 164(%r15)
 ; CHECK: brasl %r14, foo@PLT
 ; CHECK: la %r2, 164(%r15)