This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Add support to deduce if an induction variable is power of two
AbandonedPublic

Authored by huangjd on May 19 2022, 2:27 PM.

Details

Summary

Deduce a loop induction variable is a power of two, if its initial value is a power of two, and the induction expression guaranteed to be a power of two.
This patch is cleaning up revision confusion in D124889

Diff Detail

Event Timeline

huangjd created this revision.May 19 2022, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 2:27 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
huangjd requested review of this revision.May 19 2022, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 2:27 PM

At the risk of abandoning more patches, I suggest reviving https://reviews.llvm.org/D124889 and update it first instead of using this one. This is to make sure all prior review history is probably kept.

huangjd abandoned this revision.Jun 7 2022, 11:58 AM