[PATCH] D87607: [clang][aarch64] Support implicit casts between GNU and SVE vectors

Cullen Rhodes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 16 03:24:56 PDT 2020


c-rhodes added inline comments.


================
Comment at: clang/test/Sema/attr-arm-sve-vector-bits.c:237
+// Test implicit conversion between SVE and GNU vector is invalid when
+// __ARM_FEATURE_SVE_BITS != N
+#if defined(__ARM_FEATURE_SVE_BITS) && __ARM_FEATURE_SVE_BITS == 512
----------------
efriedma wrote:
> This test isn't checking what it says it is; int4 and svint64_t have different element types.
> This test isn't checking what it says it is; int4 and svint64_t have different element types.

Good spot! Fixed


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87607/new/

https://reviews.llvm.org/D87607



More information about the cfe-commits mailing list