[llvm-branch-commits] [clang] CodeGen, Driver: Introduce -fpreferred-function-alignment option. (PR #155528)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 14 11:20:08 PST 2026


================
@@ -0,0 +1,5 @@
+// RUN: %clang -### -fpreferred-function-alignment=16 %s 2>&1 | FileCheck %s -check-prefix CHECK-16
+// RUN: not %clang -### -fpreferred-function-alignment=3 %s 2>&1 | FileCheck %s -check-prefix CHECK-INVALID
+
+// CHECK-16: "-preferred-function-alignment" "4"
----------------
pcc wrote:

(See other comment.)

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


More information about the llvm-branch-commits mailing list