[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:
Aditi Medhane 2024-09-03 15:19:04 +05:30 committed by GitHub
parent c3d8124617
commit d24a2fd38e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 2 additions and 14 deletions

View File

@ -0,0 +1,2 @@
if not "AMDGPU" in config.root.targets:
config.unsupported = True

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
---

View File

@ -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

View File

@ -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. ***

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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
---

View File

@ -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
---

View File

@ -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