aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/QualifierAlignmentFixer.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2022-02-24 08:46:15 +0000
committerSander de Smalen <sander.desmalen@arm.com>2022-02-24 09:15:17 +0000
commitff3f3a54e2d1b05c36943bf88ae0be7475d622ed (patch)
tree4b0937a87470066576af55139d9957d648337508 /clang/lib/Format/QualifierAlignmentFixer.cpp
parentdbc4d281bd6954362ccfc0747893ceaae842671b (diff)
downloadllvm-ff3f3a54e2d1b05c36943bf88ae0be7475d622ed.zip
llvm-ff3f3a54e2d1b05c36943bf88ae0be7475d622ed.tar.gz
llvm-ff3f3a54e2d1b05c36943bf88ae0be7475d622ed.tar.bz2
[AArch64][AsmParser] Arch directives should set implied features.
When assembling for example an SVE instruction with the `.arch +sve2` directive, +sve should be implied by setting +sve2, similar to what would happen if one would pass the mattr=+sve2 flag on the command-line. The AsmParser doesn't set the implied features, meaning that the SVE instruction does not assemble. This patch fixes that. Note that the same does not hold when disabling a feature. For example, +nosve2 does not imply +nosve. Reviewed By: c-rhodes Differential Revision: https://reviews.llvm.org/D120259
Diffstat (limited to 'clang/lib/Format/QualifierAlignmentFixer.cpp')
0 files changed, 0 insertions, 0 deletions