summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
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/AMDGPUTargetMachine.h
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/AMDGPUTargetMachine.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
index 50b219d639c..0fe14493fab 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
@@ -100,7 +100,7 @@ public:
class GCNTargetMachine final : public AMDGPUTargetMachine {
private:
AMDGPUIntrinsicInfo IntrinsicInfo;
- mutable StringMap<std::unique_ptr<SISubtarget>> SubtargetMap;
+ mutable StringMap<std::unique_ptr<GCNSubtarget>> SubtargetMap;
public:
GCNTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
@@ -110,7 +110,7 @@ public:
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
- const SISubtarget *getSubtargetImpl(const Function &) const override;
+ const GCNSubtarget *getSubtargetImpl(const Function &) const override;
TargetTransformInfo getTargetTransformInfo(const Function &F) override;
OpenPOWER on IntegriCloud