[PATCH] D90956: [clang][SVE] Additional macros implied by `-msve-vector-bits=<N>`.

Francesco Petrogalli via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 09:24:32 PST 2020


fpetrogalli created this revision.
fpetrogalli added reviewers: peterwaller-arm, paulwalker-arm, efriedma, c-rhodes.
Herald added subscribers: cfe-commits, psnobl, kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
Herald added a project: clang.
fpetrogalli requested review of this revision.

The following macros are activated when the compiler is targeting SVE
with the option `-msve-vector-bits=<N>`:

1. __ARM_FEATURE_SVE_VECTOR_OPERATORS
2. __ARM_FEATURE_SVE_PREDICATE_OPERATORS

The behavior implied by the macros is described in sections 3.7.3.3
and 3.7.3.4 respectively of the SVE ACLE (Version 00bet6) that can be
found at https://developer.arm.com/documentation/100987/latest


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90956

Files:
  clang/lib/Basic/Targets/AArch64.cpp
  clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_PREDICATE_OPERATORS.c
  clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_PREDICATE_OPERATORS.cpp
  clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS-expected-error-on-address.c
  clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
  clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
  clang/test/Preprocessor/aarch64-target-features.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90956.303484.patch
Type: text/x-patch
Size: 10634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201106/d292fba4/attachment.bin>


More information about the cfe-commits mailing list