diff options
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp index 61bfd7a0811..78a2631614e 100644 --- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/llvm/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 { |