diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-10-28 08:56:23 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-10-28 08:58:28 -0400 |
commit | f2e93d10fe0c7a845254d35f59f47d439e9ff89b (patch) | |
tree | f2c59a2661e4d857641487bb34f3d0e69d38f30f /llvm/lib/CodeGen/MachineSink.cpp | |
parent | ee50590e1684c197bc4336984795e48bf53c7a4e (diff) | |
download | llvm-f2e93d10fe0c7a845254d35f59f47d439e9ff89b.zip llvm-f2e93d10fe0c7a845254d35f59f47d439e9ff89b.tar.gz llvm-f2e93d10fe0c7a845254d35f59f47d439e9ff89b.tar.bz2 |
[CVP] prevent propagating poison when substituting edge values into a phi (PR43802)
This phi simplification transform was added with:
D45448
However as shown in PR43802:
https://bugs.llvm.org/show_bug.cgi?id=43802
...we must be careful not to propagate poison when we do the substitution.
There might be some more complicated analysis possible to retain the overflow flag,
but it should always be safe and easy to drop flags (we have similar behavior in
instcombine and other passes).
Differential Revision: https://reviews.llvm.org/D69442
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions