[PATCH] D120440: [SVE] Refactor complex immediate pattern used by CPY/DUP.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 15:58:14 PST 2022


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

SelectSVE8BitLslImm didn't account for constant values that have a
larger bit width than the result vector's element type.  This only
seems to affect a single corner case when lowering fixed length
vectors but the code itself is also not consistent with how other
related complex patterns are implemented so I've taken the
opportunity to refactor the code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120440

Files:
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fixed-length-float-compares.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120440.410962.patch
Type: text/x-patch
Size: 15544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220223/22da103b/attachment.bin>


More information about the llvm-commits mailing list