[PATCH] D27853: [CodeGenPrep]Restructure promoting Ext to form ExtLoad

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 09:37:32 PST 2016

junbuml created this revision.
junbuml added reviewers: qcolombet, jmolloy, mcrosier.
junbuml added a subscriber: llvm-commits.
Herald added a subscriber: aemerson.

Instead of just looking for a load which is mergable with Ext to form ExtLoad, trying to promote Exts as long as the cost is acceptable. This change is not a NFC as it continue promoting Exts even after finding a load during promotions; the change in arm64-codegen-prepare-extload.ll described in 2.b might show the case. 
This change was motivated from https://reviews.llvm.org/D26524.  Based on this change, I will move the transformation performed in aarch64-type-promotion into CGP.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27853.81764.patch
Type: text/x-patch
Size: 16650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161216/74b93395/attachment.bin>

More information about the llvm-commits mailing list