[all-commits] [llvm/llvm-project] 99594b: [clang][ARM] Enable --print-supported-extensions f...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Sep 13 02:11:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99594ba30aaba7ad7c0850923bac474e4676af8e
https://github.com/llvm/llvm-project/commit/99594ba30aaba7ad7c0850923bac474e4676af8e
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/print-supported-extensions.c
M clang/tools/driver/cc1_main.cpp
M llvm/include/llvm/TargetParser/ARMTargetParser.h
M llvm/lib/TargetParser/ARMTargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[clang][ARM] Enable --print-supported-extensions for ARM (#66083)
```
$ ./bin/clang --target=arm-linux-gnueabihf --print-supported-extensions
<...>
All available -march extensions for ARM
crc
crypto
sha2
aes
dotprod
<...>
```
This follows the format set by RISC-V and AArch64. As for AArch64, ARM
doesn't have versioned extensions like RISC-V does. So there is only 1
column, which contains the name.
Any extension without a "feature" is hidden as these cannot be used with
-march.
More information about the All-commits
mailing list