[clang] [Clang] [Driver] Normalize target features forwarded to external tools (PR #245200)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 23 21:11:13 PST 2026
================
@@ -20,14 +20,22 @@
// RUN: -fno-integrated-as 2>&1 | FileCheck \
// RUN: -check-prefix=CHECK-NOIAS-NO-HMX %s
-// Preserve option order in the external assembler's feature list.
+// Normalize the external assembler's feature list: last option wins.
// RUN: %clang -c %s -### --target=hexagon -mno-hmx -mhmx \
// RUN: -fno-integrated-as 2>&1 | FileCheck \
// RUN: -check-prefix=CHECK-NOIAS-LAST-HMX %s
// RUN: %clang -c %s -### --target=hexagon -mhmx -mno-hmx \
// RUN: -fno-integrated-as 2>&1 | FileCheck \
// RUN: -check-prefix=CHECK-NOIAS-LAST-NO-HMX %s
+// Repeated identical options produce only one feature entry.
----------------
quic-k wrote:
can we have a similar comment in tests added to hexagon-hlx.c above
https://github.com/llvm/llvm-project/pull/245200
More information about the cfe-commits
mailing list