[PATCH] D86084: [SVE] Fix shift-by-imm patterns used by asr, lsl & lsr intrinsics.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 08:39:18 PDT 2020


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

Right shift patterns will no longer incorrectly accept a shift
amount of zero.  At the same time they will allow larger shift
amounts that are now saturated to their upper bound.

Patterns have been extended to enable immediate forms for shifts
taking an arbitrary predicate.

This patch also unifies the code path for immediate parsing so the
i64 based shifts are no longer treated specially.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86084

Files:
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-imm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86084.286031.patch
Type: text/x-patch
Size: 62158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/d57a0ccd/attachment.bin>


More information about the llvm-commits mailing list