[PATCH] D126895: [SLP] Phi inputs that come from an unreachable block should be undef.

Nuno Lopes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 10:51:48 PDT 2022


nlopes added a comment.

In D126895#3553868 <https://reviews.llvm.org/D126895#3553868>, @nikic wrote:

> Using poison for values from unreachable blocks is legal and preferred.

Agreed, the proposed change is not desirable.
If you are hitting some miscompilation, the bug is elsewhere not here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126895



More information about the llvm-commits mailing list