summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-09-12 07:05:30 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-09-12 07:05:30 +0000
commit95066496d08011c70b1dd6208deb17511f3000d0 (patch)
tree71a56db87cad62cdac1878a77e4b76fee9031528 /llvm/test
parent26a37998588f673ef1e3fc4a126f2a0963dad6bb (diff)
downloadbcm5719-llvm-95066496d08011c70b1dd6208deb17511f3000d0.tar.gz
bcm5719-llvm-95066496d08011c70b1dd6208deb17511f3000d0.zip
Revert "AMDGPU: Move isa version and EF_AMDGPU_MACH_* determination into TargetParser."
This reverts commit r341982. The change introduced a layering violation. Reverting to unbreak our integrate. llvm-svn: 342023
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll8
-rw-r--r--llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s2
2 files changed, 1 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll b/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll
deleted file mode 100644
index 445e112a301..00000000000
--- a/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll
+++ /dev/null
@@ -1,8 +0,0 @@
-; RUN: llc -march=amdgcn -mtriple=amdgcn-amd-amdhsa -mcpu=gfx902 -mattr=-xnack < %s | FileCheck %s
-
-; CHECK: .hsa_code_object_isa 9,0,2,"AMD","AMDGPU"
-define amdgpu_kernel void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind {
- store float 0.0, float addrspace(1)* %out0
- ret void
-}
-
diff --git a/llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s b/llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s
index 631e1a45097..0ee85c9c40b 100644
--- a/llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s
+++ b/llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s
@@ -2,5 +2,5 @@
// RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -mattr=-mad-mix-insts -show-encoding %s | FileCheck --check-prefix=GFX9 %s
.hsa_code_object_isa
-// GFX8: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
+// GFX8: .hsa_code_object_isa 8,0,0,"AMD","AMDGPU"
// GFX9: .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"
OpenPOWER on IntegriCloud