[llvm-branch-commits] [lld] CodeGen: Emit .prefalign directives based on the prefalign attribute. (PR #155529)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 27 16:17:06 PDT 2025


================
@@ -330,6 +325,18 @@ bool MachineFunction::shouldSplitStack() const {
   return getFunction().hasFnAttribute("split-stack");
 }
 
+Align MachineFunction::getPreferredAlignment() const {
+  Align PrefAlignment = Align(1);
----------------
pcc wrote:

Done

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


More information about the llvm-branch-commits mailing list