This is an archive of the discontinued LLVM Phabricator instance.

[IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison.
ClosedPublic

Authored by craig.topper on Jul 9 2020, 11:45 PM.

Diff Detail

Event Timeline

craig.topper created this revision.Jul 9 2020, 11:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2020, 11:45 PM
lebedev.ri accepted this revision.Jul 10 2020, 4:45 AM

LG, thank you

This revision is now accepted and ready to land.Jul 10 2020, 4:45 AM
This revision was automatically updated to reflect the committed changes.