diff options
author | Tim Northover <tnorthover@apple.com> | 2016-10-14 22:18:18 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-10-14 22:18:18 +0000 |
commit | ee325b9e96fe1cbcc66ba62fdf65ac502577a23f (patch) | |
tree | 5efa678dee549f10d8781beb123843f72d7064a5 /lib/Target/AArch64/AArch64Subtarget.cpp | |
parent | 6a2dc096c949c900fa0a35c9bed939b21cb3f6bc (diff) |
GlobalISel: rename legalizer components to match others.
The previous names were both misleading (the MachineLegalizer actually
contained the info tables) and inconsistent with the selector & translator (in
having a "Machine") prefix. This should make everything sensible again.
The only functional change is the name of a couple of command-line options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r-- | lib/Target/AArch64/AArch64Subtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/AArch64/AArch64Subtarget.cpp b/lib/Target/AArch64/AArch64Subtarget.cpp index 61bfd7a0811..78a2631614e 100644 --- a/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/lib/Target/AArch64/AArch64Subtarget.cpp @@ -105,9 +105,9 @@ const InstructionSelector *AArch64Subtarget::getInstructionSelector() const { return GISel->getInstructionSelector(); } -const MachineLegalizer *AArch64Subtarget::getMachineLegalizer() const { +const LegalizerInfo *AArch64Subtarget::getLegalizerInfo() const { assert(GISel && "Access to GlobalISel APIs not set"); - return GISel->getMachineLegalizer(); + return GISel->getLegalizerInfo(); } const RegisterBankInfo *AArch64Subtarget::getRegBankInfo() const { |