[PATCH] D109817: [AggressiveInstCombine] Add `phi` nodes support to `TruncInstCombine`

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 12:39:55 PST 2022


anton-afanasyev added a comment.

In D109817#3320059 <https://reviews.llvm.org/D109817#3320059>, @lebedev.ri wrote:

> In D109817#3319994 <https://reviews.llvm.org/D109817#3319994>, @anton-afanasyev wrote:
>
>>> Are there tests with switches, where the PHI node has multiple incoming edges from the same predecessor?
>>
>> What do you mean by "the same predecessor"? There is test with ordinary loop.
>
> https://godbolt.org/z/MdsrzGnvq

Oh, I see. Added test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109817/new/

https://reviews.llvm.org/D109817



More information about the llvm-commits mailing list