[PATCH] D79721: [Clang][AArch64] Capturing proper pointer alignment for Neon vld1 intrinsicts

Puyan Lotfi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 16:23:23 PDT 2020


plotfi added a comment.

After reducing the test case it looks the same as the bugzilla filing, running `clang --target=aarch64-unknown-linux-gnu -c` on the following does it:

  typedef signed char int8_t;
  typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
  typedef struct int8x16x2_t {
    int8x16_t val[2];
  } int8x16x2_t;
  
  int8x16_t f() {
    int8_t d[16];
    return __extension__ ({ int8x16_t __ret; __ret = (int8x16_t) __builtin_neon_vld1q_v(d, 32); __ret; });
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79721





More information about the cfe-commits mailing list