[clang] [clang][driver] Allow unaligned access on ARMv7 and higher by default (PR #82400)

David Green via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 22 00:13:23 PST 2024


================
@@ -22,6 +22,12 @@
 // RUN: %clang -target armv7-windows -### %s 2> %t
 // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-ARM < %t %s
 
+// RUN: %clang --target=armv6 -### %s 2> %t
+// RUN: FileCheck --check-prefix=CHECK-ALIGNED-ARM < %t %s
+
+// RUN: %clang --target=armv7 -### %s 2> %t
----------------
davemgreen wrote:

Can you add some extra tests for things like 8-m.main, 8-m.base and 6-m, to make sure we have coverage?

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


More information about the cfe-commits mailing list