[PATCH] D35027: [PowerPC] Reduce register pressure by not materializing a constant just for use as an index register for X-Form loads/stores

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 10:39:24 PDT 2017


lei updated this revision to Diff 105474.
lei added a comment.

Simplify if statement and update comment to be more clear on the tradeoffs.


https://reviews.llvm.org/D35027

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  test/CodeGen/PowerPC/build-vector-tests.ll
  test/CodeGen/PowerPC/ppc64le-smallarg.ll
  test/CodeGen/PowerPC/select-addrRegRegOnly.ll
  test/CodeGen/PowerPC/vsx-partword-int-loads-and-stores.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35027.105474.patch
Type: text/x-patch
Size: 5469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/747aed7f/attachment.bin>


More information about the llvm-commits mailing list