[all-commits] [llvm/llvm-project] c847e2: [AArch64] Guard {vmull_p64, vmull_high_p64} with '...

Mingming Liu via All-commits all-commits at lists.llvm.org
Wed Dec 21 11:03:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c847e22db33e4625b1ad58b631f57d7d1e1944ca
      https://github.com/llvm/llvm-project/commit/c847e22db33e4625b1ad58b631f57d7d1e1944ca
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

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

  Log Message:
  -----------
  [AArch64] Guard {vmull_p64, vmull_high_p64} with 'aes' target guard.

The 'aes' target guard includes both FEAT_AES and FEAT_PMULL currently.

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 [[ https://github.com/llvm/llvm-project/issues/59599 | 59599 ]]).
- After, clang hints that target 'aes' is required in the command.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D140432




More information about the All-commits mailing list