summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
index eb9bb1498d6..688bb936d0c 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
@@ -250,13 +250,3 @@ std::unique_ptr<PBQPRAConstraint>
AArch64Subtarget::getCustomPBQPConstraints() const {
return balanceFPOps() ? llvm::make_unique<A57ChainingConstraint>() : nullptr;
}
-
-void AArch64Subtarget::mirFileLoaded(MachineFunction &MF) const {
- // We usually compute max call frame size after ISel. Do the computation now
- // if the .mir file didn't specify it. Note that this will probably give you
- // bogus values after PEI has eliminated the callframe setup/destroy pseudo
- // instructions, specify explicitely if you need it to be correct.
- MachineFrameInfo &MFI = MF.getFrameInfo();
- if (!MFI.isMaxCallFrameSizeComputed())
- MFI.computeMaxCallFrameSize(MF);
-}
OpenPOWER on IntegriCloud