[all-commits] [llvm/llvm-project] 55b6a3: [llvm][AArch64] Generate getExtensionFeatures from...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Apr 11 06:42:44 PDT 2022
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-04-11 (Mon, 11 Apr 2022)
[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
More information about the All-commits