[flang-commits] [flang] [NFC][CodeGen] Create method to clear registers (PR #66958)
Nick Desaulniers via flang-commits
flang-commits at lists.llvm.org
Thu Sep 21 13:29:04 PDT 2023
================
@@ -8335,6 +8335,26 @@ bool AArch64InstrInfo::shouldOutlineFromFunctionByDefault(
return MF.getFunction().hasMinSize();
}
+void AArch64InstrInfo::buildClearRegister(Register Reg, MachineBasicBlock &MBB,
----------------
nickdesaulniers wrote:
Why make it a method on InstrInfo? Why not another method of FrameLowering?
Do you plan to call `buildClearRegister` from somewhere other than FrameLowering?
https://github.com/llvm/llvm-project/pull/66958
More information about the flang-commits
mailing list