Skip to content

Commit ad786f5

Browse files
committed
[AMDGPU] Fix 3 tests with expensive checks. NFC.
Image instructions are now not available for all targets anymore, so a generic target cannot use it.
1 parent dc1c676 commit ad786f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/test/CodeGen/AMDGPU/sgpr-copy.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -verify-machineinstrs < %s | FileCheck %s
1+
; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck %s
22
; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck %s
33

44
; CHECK-LABEL: {{^}}phi1:

llvm/test/CodeGen/AMDGPU/split-smrd.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
1+
; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
22

33
; FIXME: Move this to sgpr-copy.ll when this is fixed on VI.
44
; Make sure that when we split an smrd instruction in order to move it to

llvm/test/CodeGen/AMDGPU/subreg-coalescer-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -march=amdgcn -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
1+
; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
22
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
33

44
; GCN-LABEL:{{^}}row_filter_C1_D0:

0 commit comments

Comments
 (0)