diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-06-07 20:28:55 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-06-07 20:28:55 +0000 |
commit | b5632b5b456db647b42239cbd4d8b58c82290c4e (patch) | |
tree | 4662bb108ed60bf4d5a2692aa7bc82d19342620e /lib/Target/R600/SIRegisterInfo.h | |
parent | ce961477be78b3945e6ec4b7e22066f237a89846 (diff) | |
download | llvm-b5632b5b456db647b42239cbd4d8b58c82290c4e.tar.gz llvm-b5632b5b456db647b42239cbd4d8b58c82290c4e.tar.bz2 llvm-b5632b5b456db647b42239cbd4d8b58c82290c4e.tar.xz |
Don't cache the instruction and register info from the TargetMachine, because
the internals of TargetMachine could change.
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIRegisterInfo.h')
-rw-r--r-- | lib/Target/R600/SIRegisterInfo.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/R600/SIRegisterInfo.h b/lib/Target/R600/SIRegisterInfo.h index caec228413..c322f94914 100644 --- a/lib/Target/R600/SIRegisterInfo.h +++ b/lib/Target/R600/SIRegisterInfo.h @@ -21,13 +21,11 @@ namespace llvm { class AMDGPUTargetMachine; -class TargetInstrInfo; struct SIRegisterInfo : public AMDGPURegisterInfo { AMDGPUTargetMachine &TM; - const TargetInstrInfo &TII; - SIRegisterInfo(AMDGPUTargetMachine &tm, const TargetInstrInfo &tii); + SIRegisterInfo(AMDGPUTargetMachine &tm); virtual BitVector getReservedRegs(const MachineFunction &MF) const; |