Skip to content

Commit

Permalink
[AMDGPU] Fix 3 tests with expensive checks. NFC.
Browse files Browse the repository at this point in the history
Image instructions are now not available for all targets anymore,
so a generic target cannot use it.
  • Loading branch information
rampitec committed Mar 2, 2022
1 parent dc1c676 commit ad786f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/AMDGPU/sgpr-copy.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck %s

; CHECK-LABEL: {{^}}phi1:
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/AMDGPU/split-smrd.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s

; FIXME: Move this to sgpr-copy.ll when this is fixed on VI.
; Make sure that when we split an smrd instruction in order to move it to
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/AMDGPU/subreg-coalescer-crash.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llc -march=amdgcn -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s

; GCN-LABEL:{{^}}row_filter_C1_D0:
Expand Down

0 comments on commit ad786f5

Please sign in to comment.