Skip to content

Commit 4b61d04

Browse files
committed
SystemZ: Remove unnecessary REQUIRES asserts from tests
1 parent 181e821 commit 4b61d04

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

llvm/test/CodeGen/SystemZ/frame-26.mir

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# RUN: llc -mtriple=s390x-linux-gnu -start-before=prologepilog %s -o - -print-after=prologepilog \
22
# RUN: -verify-machineinstrs 2>&1 | FileCheck %s
3-
# REQUIRES: asserts
43
#
54
# Test that R6 when used for an argument is modelled as being live throughout
65
# the function when not saved in the prologue..
@@ -15,21 +14,21 @@
1514

1615

1716
--- |
18-
17+
1918
@g_181 = external dso_local global i32, align 4
2019
@g_1390 = external dso_local constant ptr, align 8
21-
20+
2221
define internal i8 @fun0(i8 %arg, i8 %arg1, i32 %arg2, i8 %arg3, ptr %arg4, float %F0, float %F1) #0 {
2322
ret i8 0
2423
}
25-
24+
2625
; Same function but in a single block which will make the verifier complain
2726
; if R6 is killed by the original store before the point where the
2827
; RegScavenger inserts its (killing) store of R6.
2928
define internal i8 @fun1(i8 %arg, i8 %arg1, i32 %arg2, i8 %arg3, ptr %arg4) #0 {
3029
ret i8 0
3130
}
32-
31+
3332
attributes #0 = { "frame-pointer"="all" }
3433

3534
...
@@ -74,21 +73,21 @@ machineFunctionInfo: {}
7473
body: |
7574
bb.0:
7675
liveins: $f0s, $f2s, $r6d
77-
76+
7877
STG killed renamable $r6d, undef renamable $r1d, 0, $noreg :: (store (s64) into `ptr undef`)
7978
renamable $r0d = LARL @g_181
8079
nofpexcept CEBR renamable $f0s, renamable $f2s, implicit-def $cc, implicit $fpc
8180
STG renamable $r0d, undef renamable $r1d, 0, $noreg :: (store (s64) into `ptr undef`)
8281
BRC 15, 4, %bb.2, implicit killed $cc
83-
82+
8483
bb.1:
8584
liveins: $f2s, $r0d
86-
85+
8786
renamable $f0s = COPY killed renamable $f2s
88-
87+
8988
bb.2:
9089
liveins: $f0s, $r0d
91-
90+
9291
STE killed renamable $f0s, undef renamable $r1d, 0, $noreg :: (volatile store (s32) into `ptr undef`)
9392
renamable $r1d = nuw LA %stack.0, 16, $noreg
9493
renamable $r2d = nuw LA %stack.0, 24, $noreg
@@ -161,7 +160,7 @@ machineFunctionInfo: {}
161160
body: |
162161
bb.0:
163162
liveins: $r6d
164-
163+
165164
STG killed renamable $r6d, undef renamable $r1d, 0, $noreg :: (store (s64) into `ptr undef`)
166165
renamable $r0d = LARL @g_181
167166
STG renamable $r0d, undef renamable $r1d, 0, $noreg :: (store (s64) into `ptr undef`)

llvm/test/CodeGen/SystemZ/frame-28.mir

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# RUN: llc -mtriple=s390x-linux-gnu -start-before=prologepilog %s -o - -mcpu=z14 \
22
# RUN: -verify-machineinstrs 2>&1 | FileCheck %s
3-
# REQUIRES: asserts
43
#
54
# Test that redundant frame addressing anchor points are removed by
65
# MachineLateInstrsCleanup.
@@ -262,16 +261,16 @@ machineFunctionInfo: {}
262261
body: |
263262
bb.0:
264263
successors: %bb.2(0x30000000), %bb.1(0x50000000)
265-
264+
266265
renamable $r1d = LGRL @ptr :: (load (s64) from got)
267266
CGHSI killed renamable $r1d, 0, 0, implicit-def $cc :: (volatile dereferenceable load (s64) from @ptr)
268267
BRC 14, 8, %bb.2, implicit killed $cc
269268
J %bb.1
270-
269+
271270
bb.1:
272271
renamable $r1d = LGRL @ptr :: (load (s64) from got)
273272
MVGHI killed renamable $r1d, 0, 0
274-
273+
275274
bb.2:
276275
Return
277276

llvm/test/CodeGen/SystemZ/memcmp-03.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
; Test memcmp with 0 size.
22

33
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4-
; REQUIRES: asserts
54

65
declare i32 @memcmp(ptr nocapture, ptr nocapture, i64)
76

0 commit comments

Comments
 (0)