This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Added support to deduce PHI Nodes values being a power of 2
AbandonedPublic

Authored by huangjd on Apr 13 2022, 1:11 PM.

Details

Reviewers
davidxl
Summary

Updated isPowerOfTwoRecurrence to correctly exclude certain signed-operation case
Added more test cases
Fixed formatting, typo

Diff Detail

Event Timeline

huangjd created this revision.Apr 13 2022, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:11 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
huangjd requested review of this revision.Apr 13 2022, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:11 PM
huangjd retitled this revision from Updated isPowerOfTwoRecurrence to correctly exclude certain signed-operation case Fixed formatting, typo Added more test cases to [ValueTracking] Added support to deduce PHI Nodes values being a power of 2.
huangjd edited the summary of this revision. (Show Details)
huangjd updated this revision to Diff 422686.EditedApr 13 2022, 4:14 PM
huangjd edited the summary of this revision. (Show Details)

merge from upstream

huangjd abandoned this revision.Apr 13 2022, 5:00 PM