summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-04-14 17:45:38 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-04-14 17:45:38 +0000
commitcef0fe4245c52d389786455f246475b19c491ac6 (patch)
tree1608038e60a9ee73fcdd1e3776768bb62ab7ca64 /llvm/lib/Target/AArch64/AArch64Subtarget.cpp
parent13d90f324c5169f67fcf72ae39426e2c826b9295 (diff)
downloadbcm5719-llvm-cef0fe4245c52d389786455f246475b19c491ac6.tar.gz
bcm5719-llvm-cef0fe4245c52d389786455f246475b19c491ac6.zip
[GlobalISel] Move GISelAccessor class into public headers
Reviewers: qcolombet Subscribers: joker.eph, vkalintiris, llvm-commits Differential Revision: http://reviews.llvm.org/D19120 llvm-svn: 266348
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
index 72c16638cc6..ce0d98f4ae2 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
@@ -57,16 +57,16 @@ AArch64Subtarget::AArch64Subtarget(const Triple &TT, const std::string &CPU,
StrictAlign(false), ReserveX18(TT.isOSDarwin()), IsLittle(LittleEndian),
CPUString(CPU), TargetTriple(TT), FrameLowering(),
InstrInfo(initializeSubtargetDependencies(FS)), TSInfo(),
- TLInfo(TM, *this), GISelAccessor() {}
+ TLInfo(TM, *this), GISel() {}
const CallLowering *AArch64Subtarget::getCallLowering() const {
- assert(GISelAccessor && "Access to GlobalISel APIs not set");
- return GISelAccessor->getCallLowering();
+ assert(GISel && "Access to GlobalISel APIs not set");
+ return GISel->getCallLowering();
}
const RegisterBankInfo *AArch64Subtarget::getRegBankInfo() const {
- assert(GISelAccessor && "Access to GlobalISel APIs not set");
- return GISelAccessor->getRegBankInfo();
+ assert(GISel && "Access to GlobalISel APIs not set");
+ return GISel->getRegBankInfo();
}
/// ClassifyGlobalReference - Find the target operand flags that describe
OpenPOWER on IntegriCloud