This is an archive of the discontinued LLVM Phabricator instance.

[ConstantRange] Handle `Intrinsic::cttz` and `Intrinsic::ctpop` with KnownBits
AbandonedPublic

Authored by dtcxzyw on Jun 23 2023, 6:50 AM.

Details

Reviewers
nikic
reames
Summary

This patch adds support for cttz and ctpop intrinsics in ConstantRange.
This is a simpler and faster approximation of D153505 using KnownBits.

Diff Detail

Event Timeline

dtcxzyw created this revision.Jun 23 2023, 6:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2023, 6:50 AM
dtcxzyw requested review of this revision.Jun 23 2023, 6:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2023, 6:50 AM
dtcxzyw abandoned this revision.Jun 27 2023, 2:18 PM