[clang] [flang] [flang][Driver] Support -print-supported-extensions (PR #117402)
Andrzej WarzyĆski via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 11:26:04 PST 2024
================
@@ -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
----------------
banach-space wrote:
IMO, it would be sufficient to only test this line and refer folks to Clang for the rest. Just to avoid duplicating tests. WDYT?
For options like this one, we should have one test file shared between Clang and Flang. That would probably have to live outside of Flang and Clang. Worth considering for the future.
https://github.com/llvm/llvm-project/pull/117402
More information about the cfe-commits
mailing list