This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Use KnownBits::countMinSignBits() to simplify the end of ComputeNumSignBits.
ClosedPublic

Authored by craig.topper on Dec 30 2021, 1:45 PM.

Details

Summary

This matches what is done in ValueTracking.cpp

Diff Detail

Event Timeline

craig.topper created this revision.Dec 30 2021, 1:45 PM
craig.topper requested review of this revision.Dec 30 2021, 1:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 30 2021, 1:45 PM
foad accepted this revision.Dec 31 2021, 2:27 AM
This revision is now accepted and ready to land.Dec 31 2021, 2:27 AM
RKSimon accepted this revision.Dec 31 2021, 4:44 AM

LGTM - cheers

This revision was landed with ongoing or failed builds.Dec 31 2021, 5:32 PM
This revision was automatically updated to reflect the committed changes.