[PATCH] D102687: [RISCV] Ensure shuffle splat operands are type-legal

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 03:38:13 PDT 2021


frasercrmck updated this revision to Diff 346389.
frasercrmck added a comment.
Herald added a subscriber: pengfei.

- move the illegal-type fix into getSplatValue
- create a separate X86 version as it relies on illegal types


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102687

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102687.346389.patch
Type: text/x-patch
Size: 6197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/8dec0f22/attachment.bin>


More information about the llvm-commits mailing list