[PATCH] D70223: [DAGCombine] Split vector load-update-store into single element stores

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 01:38:31 PST 2019


qiucf updated this revision to Diff 229465.
qiucf added a comment.

- Add regression test.
- Check legality before doing costy operations.

I plan to move the two changed `swap-le` tests into another NFC patch, since they're not related to the logic. Also, currently `i8` and `i16` are illegal on PowerPC. So this won't affect vectors like `<8 x i16>` or `<16 x i8>`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70223

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/swaps-le-5.ll
  llvm/test/CodeGen/PowerPC/swaps-le-6.ll
  llvm/test/CodeGen/PowerPC/vector-store-split.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70223.229465.patch
Type: text/x-patch
Size: 16616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191115/ab8d72ca/attachment.bin>


More information about the llvm-commits mailing list