[PATCH] D38486: [PPC] Implement the heuristic to choose between a X-Form VSX ld/st vs a X-Form FP ld/st.

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 13:38:32 PDT 2017


jtony updated this revision to Diff 118834.
jtony marked 5 inline comments as done.
jtony added a comment.

Address comments from Nemanja. 
(1) Abstract the common part code for handling D-Form and X-Form LD/ST heuristic into a function.
(2) Fix missing predicate guards (HasVectorP8(), AddedComplexity=400) problem.


https://reviews.llvm.org/D38486

Files:
  lib/Target/PowerPC/P9InstrResources.td
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCInstrVSX.td
  lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  test/CodeGen/PowerPC/branch_coalesce.ll
  test/CodeGen/PowerPC/build-vector-tests.ll
  test/CodeGen/PowerPC/direct-move-profit.ll
  test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll
  test/CodeGen/PowerPC/ppc64le-smallarg.ll
  test/CodeGen/PowerPC/pr25157-peephole.ll
  test/CodeGen/PowerPC/pr25157.ll
  test/CodeGen/PowerPC/pr30715.ll
  test/CodeGen/PowerPC/select-addrRegRegOnly.ll
  test/CodeGen/PowerPC/select_const.ll
  test/CodeGen/PowerPC/swaps-le-6.ll
  test/CodeGen/PowerPC/vsx_insert_extract_le.ll
  test/CodeGen/PowerPC/vsx_scalar_ld_st.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38486.118834.patch
Type: text/x-patch
Size: 32298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171012/60f064b3/attachment.bin>


More information about the llvm-commits mailing list