[PATCH] D141518: [AArch64] Move default extensions from clang Driver to TargetParser

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 09:35:44 PST 2023


dmgreen created this revision.
dmgreen added reviewers: pratlucas, lenary, tmatheson, stuij, sdesmalen.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

As far as I understand these additions of default extensions would be better added in the TargetParser, not by the driver. This removes the addition of "+i8mm" and "+bf16" features as they are already added in 8.6/9.1 architectures. AEK_MOPS and AEK_HBC have been added to 8.8/9.3 architectures to replace the "+hbc" and "+mops" features.


https://reviews.llvm.org/D141518

Files:
  clang/lib/Driver/ToolChains/Arch/AArch64.cpp
  clang/test/Driver/aarch64-hbc.c
  clang/test/Driver/aarch64-i8mm.c
  clang/test/Driver/aarch64-mops.c
  clang/test/Driver/aarch64-v91a.c
  clang/test/Driver/aarch64-v92a.c
  llvm/include/llvm/TargetParser/AArch64TargetParser.def

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141518.488255.patch
Type: text/x-patch
Size: 13089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230111/9f79bc1a/attachment.bin>


More information about the llvm-commits mailing list