summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/R700Instructions.td
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2018-07-11 20:59:01 +0000
committerTom Stellard <tstellar@redhat.com>2018-07-11 20:59:01 +0000
commit5bfbae5cb180ef00cc5ce412fd0fb6566918028e (patch)
tree2e41d4ce3a33a5e2606e3854bf5abd8bf3b97944 /llvm/lib/Target/AMDGPU/R700Instructions.td
parent8027bb33308464a75f5644968da2ef6699625607 (diff)
downloadbcm5719-llvm-5bfbae5cb180ef00cc5ce412fd0fb6566918028e.tar.gz
bcm5719-llvm-5bfbae5cb180ef00cc5ce412fd0fb6566918028e.zip
AMDGPU: Refactor Subtarget classes
Summary: This is a follow-up to r335942. - Merge SISubtarget into AMDGPUSubtarget and rename to GCNSubtarget - Rename AMDGPUCommonSubtarget to AMDGPUSubtarget - Merge R600Subtarget::Generation and GCNSubtarget::Generation into AMDGPUSubtarget::Generation. Reviewers: arsenm, jvesely Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, javed.absar, llvm-commits Differential Revision: https://reviews.llvm.org/D49037 llvm-svn: 336851
Diffstat (limited to 'llvm/lib/Target/AMDGPU/R700Instructions.td')
-rw-r--r--llvm/lib/Target/AMDGPU/R700Instructions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/R700Instructions.td b/llvm/lib/Target/AMDGPU/R700Instructions.td
index 988b70d16cd..613a0d729bb 100644
--- a/llvm/lib/Target/AMDGPU/R700Instructions.td
+++ b/llvm/lib/Target/AMDGPU/R700Instructions.td
@@ -13,7 +13,7 @@
//
//===----------------------------------------------------------------------===//
-def isR700 : Predicate<"Subtarget->getGeneration() == R600Subtarget::R700">;
+def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
let Predicates = [isR700] in {
def SIN_r700 : SIN_Common<0x6E>;
OpenPOWER on IntegriCloud