diff options
author | David Spickett <david.spickett@linaro.org> | 2022-04-06 14:29:51 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2022-04-11 13:42:24 +0000 |
commit | 55b6a3186cfa8b85a1defe05861d73f447e4c990 (patch) | |
tree | 770730a3e3270391523f15d3f7890d754b7479e7 /clang/lib/ExtractAPI/API.cpp | |
parent | f5d6d13d72daa094832ef6c19c7db221ab4574b8 (diff) | |
download | llvm-55b6a3186cfa8b85a1defe05861d73f447e4c990.zip llvm-55b6a3186cfa8b85a1defe05861d73f447e4c990.tar.gz llvm-55b6a3186cfa8b85a1defe05861d73f447e4c990.tar.bz2 |
[llvm][AArch64] Generate getExtensionFeatures from the list of extensions
This takes the AARCH64_ARCH_EXT_NAME in AArch64TargetParser.def and uses
it to generate all the "if bit is set add this feature name" code.
Which gives us a bunch that we were missing. I've updated testing
to include those and reordered them to match the order in the .def.
The final part of the test will catch any missing extensions if
we somehow manage to not generate an if block for them.
This has changed the order of cc1's "-target-feature" output so I've
updated some tests in clang to reflect that.
Reviewed By: tmatheson
Differential Revision: https://reviews.llvm.org/D123296
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions