[clang] [ARM] Introduce -mtp=auto and make it the default (PR #128728)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 02:18:47 PST 2025


================
@@ -42,4 +42,8 @@
 
 // RUN: %clang --target=armv7-linux -### -S %s 2>&1 | \
 // RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER_NON %s
-// ARMv7_THREAD_POINTER_NON-NOT: "-target-feature" "+read-tp-tpidruro"
+// ARMv7_THREAD_POINTER_NON: "-target-feature" "+read-tp-tpidruro"
----------------
Zhenhang1213 wrote:

It‘s my fault, I want to set `+read-tp-tpidruro` by `-mtp=auto`

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


More information about the cfe-commits mailing list