[PATCH] D20443: [PowerPC] - Combine loads of v4i8 to loads of i32 followed by bitcast

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 02:32:49 PDT 2016


nemanjai updated this revision to Diff 59512.
nemanjai added a comment.

I had forgotten to check whether the operands of the extractelement nodes are actually constants which can cause asserts. Added the checks now.


Repository:
  rL LLVM

http://reviews.llvm.org/D20443

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/PowerPC/PPCInstrVSX.td
  test/Analysis/CostModel/PowerPC/load_store.ll
  test/CodeGen/PowerPC/load-v4i8-improved.ll
  test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll
  test/CodeGen/PowerPC/vec_cmp.ll
  test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20443.59512.patch
Type: text/x-patch
Size: 15176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/0679f6b8/attachment.bin>


More information about the llvm-commits mailing list