[clang] [Clang] Support `-falign-loops=N` for LTO (PR #181702)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 16 09:53:07 PST 2026
================
@@ -7,6 +7,8 @@
// RUN: %clang -### -falign-loops=65536 %s 2>&1 | FileCheck %s --check-prefix=CHECK_65536
// RUN: not %clang -### -falign-loops=65537 %s 2>&1 | FileCheck %s --check-prefix=CHECK_65537
// RUN: not %clang -### -falign-loops=a %s 2>&1 | FileCheck %s --check-prefix=CHECK_ERR_A
+// RUN: %clang -### -falign-loops=2 -fuse-ld=lld %s 2>&1 | FileCheck --check-prefixes=CC1,OBJ %s
----------------
MaskRay wrote:
Remove this linking with lld test. You can merge the check prefixes to -falign-loops=4 or 65536 above since they also test the link phase.
https://github.com/llvm/llvm-project/pull/181702
More information about the cfe-commits
mailing list