This is an archive of the discontinued LLVM Phabricator instance.

[ADT] APIntOps::ScaleBitMask(): introduce 'BitMergingApproach' switch
AbandonedPublic

Authored by lebedev.ri on Sep 17 2021, 9:05 AM.

Details

Reviewers
RKSimon
Summary

Not always do we want to greedily merge the bits

Diff Detail

Unit TestsFailed

Event Timeline

lebedev.ri created this revision.Sep 17 2021, 9:05 AM

TBH I think you'd be better off splitting ScaleBitMask into 2 methods rather than using an enum - unless you have a strong use case for needing to select between the 2 at runtime

RKSimon requested changes to this revision.Oct 22 2021, 9:12 AM

TBH I think you'd be better off splitting ScaleBitMask into 2 methods rather than using an enum - unless you have a strong use case for needing to select between the 2 at runtime

This revision now requires changes to proceed.Oct 22 2021, 9:12 AM
lebedev.ri abandoned this revision.Jan 17 2022, 2:35 PM