summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-06-13 01:32:00 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-06-13 01:32:00 +0000
commit2e59a45f80e5323bcc5c5c811a1aae86584daef2 (patch)
tree9f4e11fd3eb46b7abbddfb4b39b7bf54c595d26f /llvm/lib/Target/R600/AMDGPUTargetMachine.cpp
parentd881e9195a7f612b08bf8e8c7f7a0a6040b2fee2 (diff)
downloadbcm5719-llvm-2e59a45f80e5323bcc5c5c811a1aae86584daef2.tar.gz
bcm5719-llvm-2e59a45f80e5323bcc5c5c811a1aae86584daef2.zip
R600: Move AMDGPUInstrInfo from AMDGPUTargetMachine into AMDGPUSubtarget
llvm-svn: 210869
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUTargetMachine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUTargetMachine.cpp b/llvm/lib/Target/R600/AMDGPUTargetMachine.cpp
index 174fdca3bd7..145aac0646b 100644
--- a/llvm/lib/Target/R600/AMDGPUTargetMachine.cpp
+++ b/llvm/lib/Target/R600/AMDGPUTargetMachine.cpp
@@ -80,10 +80,8 @@ AMDGPUTargetMachine::AMDGPUTargetMachine(const Target &T, StringRef TT,
InstrItins(&Subtarget.getInstrItineraryData()) {
// TLInfo uses InstrInfo so it must be initialized after.
if (Subtarget.getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS) {
- InstrInfo.reset(new R600InstrInfo(*this));
TLInfo.reset(new R600TargetLowering(*this));
} else {
- InstrInfo.reset(new SIInstrInfo(*this));
TLInfo.reset(new SITargetLowering(*this));
}
setRequiresStructuredCFG(true);
OpenPOWER on IntegriCloud