[llvm-commits] PATCH: Followup to r152556: Use more powerful instsimplify when actually performing the inline of a function

Chandler Carruth chandlerc at gmail.com
Wed Mar 21 04:56:52 PDT 2012


On Wed, Mar 21, 2012 at 4:15 AM, Chandler Carruth <chandlerc at gmail.com>wrote:

> There are a couple of things I want to do as follow-ups: simplify PHINodes
> to catch cases where all phi operands end up equal. This will in-turn want
> to recursively apply that simplification to users of the PHINodes. This has
> to happen in the lazy PHINode resolution pass, so I wanted to do it in a
> follow-up patch.


FYI, here is the patch for this. It's still a bit untested, but wanted to
go ahead and get it out in front of folks for review. It at least didn't do
anything horrible to a bootstrap.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120321/e64685b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inliner-phi-simplify.diff
Type: text/x-patch
Size: 2632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120321/e64685b1/attachment.bin>


More information about the llvm-commits mailing list