[PATCH] D139119: [AArch64][SVE2p1] Make use of REVD instruction.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 04:42:28 PST 2022


paulwalker-arm accepted this revision.
paulwalker-arm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:23177-23178
 
+  if (Subtarget->hasSVE2p1() && isREVMask(ShuffleMask, VT, 128) &&
+      VT.getScalarSizeInBits() == 64) {
+    if (!VT.isFloatingPoint())
----------------
Perhaps worth putting `VT.getScalarSizeInBits() == 64` before the called to `isREVMask` so we bail out earlier.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139119



More information about the llvm-commits mailing list