[PATCH] D101606: [ARM] vcreateq lane ordering for big endian

Tomas Matheson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 30 01:36:15 PDT 2021


tmatheson created this revision.
Herald added subscribers: danielkiss, dmgreen, kristof.beyls.
tmatheson requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Use of bitcast resulted in lanes being swapped for vcreateq with big
endian. Fix this by using vreinterpret. No code change for little
endian. Adds IR lit test.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101606

Files:
  clang/include/clang/Basic/arm_mve.td
  clang/test/CodeGen/arm-mve-intrinsics/admin.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101606.341802.patch
Type: text/x-patch
Size: 7202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210430/ced24e62/attachment.bin>


More information about the cfe-commits mailing list