mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
dd53274771
This reverts commit 80a34ae31125aa46dcad47162ba45b152aed968d with fixes. Previously, since bots turning on EXPENSIVE_CHECKS are essentially turning on MachineVerifierPass by default on X86 and the fact that inline-asm-avx-v-constraint-32bit.ll and inline-asm-avx512vl-v-constraint-32bit.ll are not expected to generate functioning machine code, this would go down to `report_fatal_error` in MachineVerifierPass. Here passing `-verify-machineinstrs=0` to make the intent explicit.
23 lines
698 B
YAML
23 lines
698 B
YAML
# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck -check-prefix=ERROR %s
|
|
# REQUIRES: amdgpu-registered-target
|
|
|
|
# When the verifier was detecting the invalid liveness for vcc, it would assert when trying to iterate the subregisters of the implicit virtual register use.
|
|
|
|
|
|
# ERROR: *** Bad machine code: Using an undefined physical register ***
|
|
# ERROR: instruction: S_ENDPGM 0, implicit %0:vgpr_32, implicit $vcc
|
|
# ERROR: operand 2: implicit $vcc
|
|
|
|
...
|
|
|
|
name: invalid_implicit_physreg_use_with_implicit_virtreg
|
|
tracksRegLiveness: true
|
|
|
|
body: |
|
|
bb.0:
|
|
%0:vgpr_32 = IMPLICIT_DEF
|
|
S_ENDPGM 0, implicit %0, implicit $vcc
|
|
|
|
...
|
|
|