[PATCH] D28167: Create as few pieces of an argument as possible when promoting an argument.

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 29 16:00:35 PST 2016


trentxintong added a comment.

Actually we do run one iteration of instcombine before argument promotion. Given that, I feel this is still useful as there are limits on what sort of aggregates we break up, e.g. if the struct has padding, we do not break it up. argprom however may still promote the argument.


https://reviews.llvm.org/D28167





More information about the llvm-commits mailing list