[PATCH] D37195: [InstCombine] Teach canEvaluateTruncated and EvaluateInDifferentType to handle expression tree with multi-used nodes.

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 08:16:13 PDT 2017


Appreciate it very much, but I've given up up on trying to stop folks from
making instcombine into the worlds hugest ball of mud.  So i'm going to
resign from this.

On Tue, Aug 29, 2017 at 6:37 AM, Sanjay Patel via Phabricator <
reviews at reviews.llvm.org> wrote:

> spatel added a comment.
>
> In https://reviews.llvm.org/D37195#855385, @aaboud wrote:
>
> > I do not see why it is much different that passing the demandedBits map
> and update it recursively!
>
>
> That may be true, but there's also an argument that doing demandedBits
> analysis within instcombine already went over the line. :)
> There have been a few recent llvm-dev threads about the responsibilities
> and limits of various passes. Here's one:
> http://lists.llvm.org/pipermail/llvm-dev/2017-May/113212.html
>
> I don't have enough experience with this, so I'll defer to others for
> their guidance. Just thought it was worth mentioning.
>
>
> https://reviews.llvm.org/D37195
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170829/81d5cb96/attachment.html>


More information about the llvm-commits mailing list