summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-01-29 00:19:42 +0000
committerEric Christopher <echristo@gmail.com>2015-01-29 00:19:42 +0000
commit905f12d96d015e289511319c7defcf1c85b9dc0d (patch)
tree64c6203a8ef8f461f607859ecb4de34f7343a33f /llvm/lib/Target/AArch64/AArch64Subtarget.cpp
parent1889fdc1422a7412f8ab3372fe2111a974b742ab (diff)
downloadbcm5719-llvm-905f12d96d015e289511319c7defcf1c85b9dc0d.tar.gz
bcm5719-llvm-905f12d96d015e289511319c7defcf1c85b9dc0d.zip
Remove getSubtargetImpl from AArch64ISelLowering and cache the
correct subtarget by passing it in during the constructor as TargetLowering is Subtarget specific. llvm-svn: 227402
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
index d48a54decd8..c6130253dd8 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
@@ -51,7 +51,7 @@ AArch64Subtarget::AArch64Subtarget(const std::string &TT,
HasZeroCycleRegMove(false), HasZeroCycleZeroing(false),
IsLittle(LittleEndian), CPUString(CPU), TargetTriple(TT), FrameLowering(),
InstrInfo(initializeSubtargetDependencies(FS)),
- TSInfo(TM.getDataLayout()), TLInfo(TM) {}
+ TSInfo(TM.getDataLayout()), TLInfo(TM, *this) {}
/// ClassifyGlobalReference - Find the target operand flags that describe
/// how a global value should be referenced for the current subtarget.
OpenPOWER on IntegriCloud