================
@@ -0,0 +1,34 @@
+! REQUIRES: arm-registered-target
+
+! RUN: %flang --target=arm-linux-gnu --print-supported-extensions 2>&1 \
+! RUN:   | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
+
+! CHECK: All available -march extensions for ARM
----------------
tarunprabhu wrote:
It makes sense to shared these and I'll change this PR to do that. Sharing the 
`printSupportedCPUs` (which is currently duplicated) will be done separately. 

Is `clang/lib/Driver/ToolChains/CommonArgs.cpp` an appropriate place for the 
shared code? Is it not intended to be "private" to the toolchains? I don't see 
anything more appropriate, but we're probably in uncharted territory here.

https://github.com/llvm/llvm-project/pull/117402
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to