This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Use m_LogicalAnd/Or to look into conditions
ClosedPublic

Authored by aqjune on Dec 27 2020, 1:42 PM.

Details

Summary

This patch updates isImpliedCondition/isKnownNonZero to look into select form of
and/or as well.

See llvm.org/pr48353 and D93065 for more context

Diff Detail

Event Timeline

aqjune created this revision.Dec 27 2020, 1:42 PM
aqjune requested review of this revision.Dec 27 2020, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 27 2020, 1:42 PM
nikic accepted this revision.Dec 27 2020, 2:22 PM

LGTM

This revision is now accepted and ready to land.Dec 27 2020, 2:22 PM
This revision was landed with ongoing or failed builds.Dec 27 2020, 3:33 PM
This revision was automatically updated to reflect the committed changes.