[PATCH] D72660: [PowerPC] Improve handling of some BUILD_VECTOR nodes

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 15:35:35 PST 2020


nemanjai created this revision.
nemanjai added reviewers: hfinkel, PowerPC.
Herald added subscribers: shchenz, wuzish, jsji, kbarton, hiraditya.
Herald added a project: LLVM.

An analysis of real world code turned up a number of patterns with `BUILD_VECTOR` of nodes resulting from operations on extracted vector elements for which we produce poor code. This addresses those cases. No attempt is made for completeness as that would entail a large amount of work for something that there is no evidence of in real code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72660

Files:
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/build-vector-tests.ll
  llvm/test/CodeGen/PowerPC/reduce_scalarization02.ll
  llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i64_elts.ll
  llvm/test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72660.237794.patch
Type: text/x-patch
Size: 63613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200113/9a73c949/attachment.bin>


More information about the llvm-commits mailing list