Skip to content

Commit c9943c0

Browse files
committed
Modefied xfail test into normal test with verifier check line.
1 parent 12c07f5 commit c9943c0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/test/CodeGen/AMDGPU/spill-partial-csr-sgpr-live-ins.mir

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
3-
# XFAIL: *
2+
# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills %s -o /dev/null 2>&1 | FileCheck -check-prefix=VERIFIER %s
43

5-
# FIXME : Currently, MRI's liveIn check for regiters does not take corresponding live-in's sub-registers in account. As a result
6-
# in SILowerSGPRSpills, the SubReg spill gets marked KILLED eventhough its SuperReg is in function Live-ins. This causes machine
4+
# FIXME : Currently, MRI's liveIn check for registers does not take the corresponding live-in's sub-registers into account. As a result
5+
# in SILowerSGPRSpills, the SubReg spill gets marked KILLED even though its SuperReg is in the function Live-ins. This causes machine
76
# verifier to now fail at direct usage of that SubReg, which intially should not be any problem before adding spill.
87

9-
# CHECK: *** Bad machine code: Using an undefined physical register ***
8+
# VERIFIER: *** Bad machine code: Using an undefined physical register ***
109

1110
---
1211
name: spill_partial_live_csr_sgpr_argument_test_1

0 commit comments

Comments
 (0)