[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:15 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();
----------------
andreisfr wrote:

fixed

https://github.com/llvm/llvm-project/pull/113450


More information about the llvm-commits mailing list