This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Use ComputeMinSignedBits and KnownBits::countMaxActiveBits to simplify some code. NFC
ClosedPublic

Authored by craig.topper on Jan 2 2022, 8:41 PM.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 2 2022, 8:41 PM
craig.topper requested review of this revision.Jan 2 2022, 8:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 2 2022, 8:41 PM
Herald added a subscriber: wdng. · View Herald Transcript
RKSimon accepted this revision.Jan 3 2022, 4:18 AM

LGTM

This revision is now accepted and ready to land.Jan 3 2022, 4:18 AM
craig.topper retitled this revision from [AMDGPU] Use ComputeMinSignedBits and KnownBits::countMaxActiveBits to simplify some code. NFC to [AMDGPU] Use ComputeMaxSignedBits and KnownBits::countMaxActiveBits to simplify some code. NFC.Jan 3 2022, 9:32 AM
craig.topper retitled this revision from [AMDGPU] Use ComputeMaxSignedBits and KnownBits::countMaxActiveBits to simplify some code. NFC to [AMDGPU] Use ComputeMinSignedBits and KnownBits::countMaxActiveBits to simplify some code. NFC.Jan 3 2022, 10:09 AM
This revision was landed with ongoing or failed builds.Jan 3 2022, 10:16 AM
This revision was automatically updated to reflect the committed changes.