[PATCH] D140432: [AArch64] Guard {vmull_p64, vmull_high_p64} with 'aes' target guard.

Mingming Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 13:53:48 PST 2022


mingmingl created this revision.
mingmingl added a reviewer: dmgreen.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
mingmingl requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

In this way, cpp code that uses these intrinsics without specifying the required extension gets better hint.

- Before, compile crashes with LLVM ISel internal message (see issue 59599).
- After, clang hints that target 'aes' is required.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140432

Files:
  clang/include/clang/Basic/arm_neon.td
  clang/test/CodeGen/aarch64-poly128.c
  clang/test/Sema/aarch64-neon-target.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140432.484372.patch
Type: text/x-patch
Size: 13592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221220/83ec1f63/attachment-0001.bin>


More information about the cfe-commits mailing list