summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUInstrInfo.h
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/AMDGPUInstrInfo.h
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/AMDGPUInstrInfo.h')
-rw-r--r--llvm/lib/Target/R600/AMDGPUInstrInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUInstrInfo.h b/llvm/lib/Target/R600/AMDGPUInstrInfo.h
index 74baf6b2a6f..31cdb0a2cfc 100644
--- a/llvm/lib/Target/R600/AMDGPUInstrInfo.h
+++ b/llvm/lib/Target/R600/AMDGPUInstrInfo.h
@@ -33,7 +33,7 @@
namespace llvm {
-class AMDGPUTargetMachine;
+class AMDGPUSubtarget;
class MachineFunction;
class MachineInstr;
class MachineInstrBuilder;
@@ -45,9 +45,9 @@ private:
MachineBasicBlock &MBB) const;
virtual void anchor();
protected:
- TargetMachine &TM;
+ const AMDGPUSubtarget &ST;
public:
- explicit AMDGPUInstrInfo(TargetMachine &tm);
+ explicit AMDGPUInstrInfo(const AMDGPUSubtarget &st);
virtual const AMDGPURegisterInfo &getRegisterInfo() const = 0;
OpenPOWER on IntegriCloud