[llvm-commits] [Review request] Have Correlated Value Propagation handle instruction operands.

Frits van Bommel fvbommel at gmail.com
Thu Feb 17 16:10:22 PST 2011


On Fri, Feb 18, 2011 at 12:10 AM, Chris Lattner <clattner at apple.com> wrote:
> One way to speed this up is to only look at values that have multiple uses.  If X only has a single use (which is a very common case for instructions) it is unlikely to be simplifyable.

That sounds plausible enough. Updated patch attached in case anyone
wants to test this.
It didn't break any tests, so that's good :).

Of course, Duncan did say this simplifies away 'way less' code than
his pass so all of this may be moot...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: correlated-value-prop-operands-v2.patch
Type: text/x-patch
Size: 6761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110218/4c38386b/attachment.bin>


More information about the llvm-commits mailing list