[all-commits] [llvm/llvm-project] 997852: [AArch64] Alter arm_neon_sve_bridge.h to be target...

David Green via All-commits all-commits at lists.llvm.org
Wed Jan 4 05:09:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 997852920d52442242fca9173a7b003b1164e26d
      https://github.com/llvm/llvm-project/commit/997852920d52442242fca9173a7b003b1164e26d
  Author: David Green <david.green at arm.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def
    M clang/lib/Headers/arm_neon_sve_bridge.h
    A clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c

  Log Message:
  -----------
  [AArch64] Alter arm_neon_sve_bridge.h to be target-based, not preprocessor based.

Similar to D131064, this alters the arm_neon_sve_bridge.h header to use
target-based intrinsics that give an error if used in a function that
does not have the sve features, but are not preprocessed out. This
header is simpler than the arm_sve.h and other headers, not including
any tablegen'd content. The main change is altering the builtin
definitions from using BUILTIN to TARGET_BUILTIN.

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




More information about the All-commits mailing list