[PATCH] D28701: [CodeGenPrep]Sink sext when foldable in user GEPs
Jun Bum Lim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 14:08:55 PST 2017
junbuml created this revision.
junbuml added reviewers: qcolombet, jmolloy, mcrosier.
junbuml added a subscriber: llvm-commits.
Sink sign extensions to user blocks if foldable as a part of address calculation by the local ISel when placed in the same block. With this change, 3% performance gain was observed in spec2006/astar. The test case was reduced from spec2006/astar wayobj::makebound2() function.
This change was initially proposed in https://reviews.llvm.org/D26524 and now I do this in CGP based on https://reviews.llvm.org/D27853 and https://reviews.llvm.org/D28680.
https://reviews.llvm.org/D28701
Files:
aarch64-address-type-promotion-sink.ll
lib/CodeGen/CodeGenPrepare.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28701.84377.patch
Type: text/x-patch
Size: 11001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/15098d84/attachment-0001.bin>
More information about the llvm-commits
mailing list