summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/R600Instructions.td
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-01-30 23:24:40 +0000
committerEric Christopher <echristo@gmail.com>2015-01-30 23:24:40 +0000
commit7792e32b649d6399ffc9d4ebcc700a376a4936e8 (patch)
treee1c8f08a3ba0048e3d80026e78ec98680fd99918 /llvm/lib/Target/R600/R600Instructions.td
parentc2f99b421bbd7e53deecb4945a0ecc0f366295e7 (diff)
downloadbcm5719-llvm-7792e32b649d6399ffc9d4ebcc700a376a4936e8.tar.gz
bcm5719-llvm-7792e32b649d6399ffc9d4ebcc700a376a4936e8.zip
Reuse a bunch of cached subtargets and remove getSubtarget calls
without a Function argument. llvm-svn: 227638
Diffstat (limited to 'llvm/lib/Target/R600/R600Instructions.td')
-rw-r--r--llvm/lib/Target/R600/R600Instructions.td7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/R600/R600Instructions.td b/llvm/lib/Target/R600/R600Instructions.td
index d004262e076..99097c47617 100644
--- a/llvm/lib/Target/R600/R600Instructions.td
+++ b/llvm/lib/Target/R600/R600Instructions.td
@@ -335,10 +335,11 @@ def load_param : LoadParamFrag<load>;
def load_param_exti8 : LoadParamFrag<az_extloadi8>;
def load_param_exti16 : LoadParamFrag<az_extloadi16>;
-def isR600 : Predicate<"Subtarget.getGeneration() <= AMDGPUSubtarget::R700">;
+def isR600 : Predicate<"Subtarget->getGeneration() <= AMDGPUSubtarget::R700">;
-def isR600toCayman : Predicate<
- "Subtarget.getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS">;
+def isR600toCayman
+ : Predicate<
+ "Subtarget->getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS">;
//===----------------------------------------------------------------------===//
// R600 SDNodes
OpenPOWER on IntegriCloud