[PATCH] D86204: [SVE] Add ISEL patterns for predicated shifts by an immediate.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 03:43:23 PDT 2020


paulwalker-arm created this revision.
Herald added subscribers: llvm-commits, psnobl, hiraditya, tschuett.
Herald added a reviewer: rengolin.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
paulwalker-arm requested review of this revision.

For scalable vector shifts the prediacte is typically all active,
which gets selected to an unpredicated shift by immediate.  When
code generating for fixed length vectors the predicate is based
on the vector length and so additional patterns are required to
make use of SVE's predicated shift by immediate instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86204

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fixed-length-int-immediates.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86204.286526.patch
Type: text/x-patch
Size: 7164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200819/d115be2f/attachment.bin>


More information about the llvm-commits mailing list