mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 08:06:06 +00:00
[AMDGPU] Create dir for amdgpu specific machineverifier tests (#106960)
Move the AMDGPU target specific testcases in MachineVerifier separately into new directory. Reference : https://github.com/llvm/llvm-project/pull/105494#discussion_r1735055750
This commit is contained in:
parent
c3d8124617
commit
d24a2fd38e
2
llvm/test/MachineVerifier/AMDGPU/lit.local.cfg
Normal file
2
llvm/test/MachineVerifier/AMDGPU/lit.local.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
if not "AMDGPU" in config.root.targets:
|
||||
config.unsupported = True
|
@ -1,6 +1,5 @@
|
||||
# FIXME: This should fail the verifier
|
||||
# XFAIL: *
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
# RUN: not --crash llc -o - -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
||||
|
||||
# %1 is live out of %bb.1 through the loop edge, and therefore the kill flag is invalid.
|
@ -1,5 +1,4 @@
|
||||
#RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
|
||||
---
|
||||
name: test_bitcast
|
@ -1,5 +1,4 @@
|
||||
# RUN: not --crash llc -o - -mtriple=amdgcn -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
|
||||
---
|
||||
name: test_intrinsic
|
@ -1,5 +1,4 @@
|
||||
# RUN: not --crash llc -o - -mtriple=amdgcn -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
|
||||
---
|
||||
name: test_intrinsic_w_side_effects
|
@ -1,4 +1,3 @@
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s
|
||||
|
||||
---
|
@ -1,5 +1,4 @@
|
||||
# XFAIL: *
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
# RUN: not --crash llc -o - -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s
|
||||
|
||||
# FIXME: This should catch the undefined use of %0
|
@ -1,6 +1,5 @@
|
||||
# FIXME: This should fail the verifier
|
||||
# XFAIL: *
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
# RUN: not --crash llc -o - -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK: *** Bad machine code: Virtual register defs don't dominate all uses. ***
|
@ -1,5 +1,4 @@
|
||||
# RUN: llc -mtriple amdgcn-amd-amdhsa -run-pass=liveintervals,pipeliner -verify-machineinstrs -o - %s | FileCheck %s
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
|
||||
# This test checks that the verifier doesn't crash on early clobbered subreg arguments.
|
||||
|
@ -1,5 +1,4 @@
|
||||
# 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.
|
||||
|
@ -1,5 +1,4 @@
|
||||
# RUN: not --crash llc -mtriple=amdgcn -run-pass=verify -o - %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
|
||||
# Make sure that mismatched successors are caught when a _term
|
||||
# instruction is used
|
@ -1,4 +1,3 @@
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s
|
||||
|
||||
---
|
@ -1,4 +1,3 @@
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s
|
||||
|
||||
---
|
@ -7,8 +7,6 @@
|
||||
# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -verify-machineinstrs -run-pass=none -o - %s | FileCheck %s
|
||||
# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -verify-machineinstrs -run-pass=none -o - %s | FileCheck %s
|
||||
|
||||
# REQUIRES: amdgpu-registered-target
|
||||
|
||||
---
|
||||
|
||||
name: writelane_m0
|
Loading…
x
Reference in New Issue
Block a user