[clang] Bypass alignment option based on architecture features instead of command-line flags (PR #134099)

Victor Campos via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 2 08:47:02 PDT 2025


================
@@ -69,9 +69,15 @@
 // CHECK-BRANCH-PROTECTION: -mbranch-protection=standard
 
 // RUN: %clang -multi-lib-config=%S/Inputs/multilib/empty.yaml -print-multi-flags-experimental --target=arm-none-eabi -mno-unaligned-access | FileCheck --check-prefix=CHECK-NO-UNALIGNED-ACCESS %s
+// RUN: %clang -multi-lib-config=%S/Inputs/multilib/empty.yaml -print-multi-flags-experimental --target=arm-none-eabi | FileCheck --check-prefix=CHECK-NO-UNALIGNED-ACCESS %s
----------------
vhscampos wrote:

Add a line also for aarch64 and no option to test the default case

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


More information about the cfe-commits mailing list