summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcSubtarget.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-01-30 23:46:43 +0000
committerEric Christopher <echristo@gmail.com>2015-01-30 23:46:43 +0000
commitf5e9406243257c0b2c1f28bf258262b7b05c4dbf (patch)
tree7ad5a4e4ba371470e3a2e30bfc91d3776f5a6e77 /llvm/lib/Target/Sparc/SparcSubtarget.cpp
parent1e5133445918c2db16f2995e036a3aa92f67cbbe (diff)
downloadbcm5719-llvm-f5e9406243257c0b2c1f28bf258262b7b05c4dbf.tar.gz
bcm5719-llvm-f5e9406243257c0b2c1f28bf258262b7b05c4dbf.zip
Reuse a bunch of cached subtargets and remove getSubtarget calls
without a Function argument. llvm-svn: 227644
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcSubtarget.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcSubtarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcSubtarget.cpp b/llvm/lib/Target/Sparc/SparcSubtarget.cpp
index 1fd3eaf0571..ce1105f2d72 100644
--- a/llvm/lib/Target/Sparc/SparcSubtarget.cpp
+++ b/llvm/lib/Target/Sparc/SparcSubtarget.cpp
@@ -53,7 +53,7 @@ SparcSubtarget::SparcSubtarget(const std::string &TT, const std::string &CPU,
const std::string &FS, TargetMachine &TM,
bool is64Bit)
: SparcGenSubtargetInfo(TT, CPU, FS), Is64Bit(is64Bit),
- InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM),
+ InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM, *this),
TSInfo(*TM.getDataLayout()), FrameLowering(*this) {}
int SparcSubtarget::getAdjustedFrameSize(int frameSize) const {
OpenPOWER on IntegriCloud