[llvm] [Xtensa] Implement support for the BranchRelaxation. (PR #113450)
Andrei Safronov via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 06:30:22 PDT 2024
================
@@ -258,13 +258,32 @@ void XtensaFrameLowering::determineCalleeSaves(MachineFunction &MF,
static unsigned estimateFunctionSizeInBytes(const MachineFunction &MF,
const XtensaInstrInfo &TII) {
- unsigned FnSize = 0;
+ const Align FunctiontAlignment = MF.getAlignment();
+ /// Offset - Distance from the beginning of the function to the end
+ /// of the basic block.
+ unsigned Offset = 0;
----------------
andreisfr wrote:
fixed
https://github.com/llvm/llvm-project/pull/113450
More information about the llvm-commits
mailing list