This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] And & Or propagate poison.
AbandonedPublic

Authored by fhahn on May 11 2020, 2:50 PM.

Details

Summary

Both And and Or instructions propagate poison if any operand is poison.
Note the TODO in the function that most instructions expect a few should
propagate poison, but it is probably safer to enable them step-by-step.

Diff Detail

Event Timeline

fhahn created this revision.May 11 2020, 2:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2020, 2:50 PM
Herald added a subscriber: hiraditya. · View Herald Transcript

Hi,
There is a relevant ongoing patch : D78615
Would it make sense if D78615 does what this patch wants to do instead?

fhahn abandoned this revision.May 12 2020, 3:58 AM

Hi,
There is a relevant ongoing patch : D78615
Would it make sense if D78615 does what this patch wants to do instead?

Ah right this patch is only a subset of D78615. It's probably best to just get D78615 in. I'll commit the additional test separately.