This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by huangjd on May 19 2022, 1:57 PM.

Details

Summary

Add Value Tracking support to deduce induction variable being a power of 2, allowing urem optimizations

Diff Detail

Event Timeline

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

Fixing revision mess in D125332 (reverted because updated tests were not checked in by arc)

davidxl accepted this revision.May 24 2022, 9:09 AM

LGTM (Next time, please reuse the old patch https://reviews.llvm.org/D126018 to update.)

This revision is now accepted and ready to land.May 24 2022, 9:09 AM
huangjd updated this revision to Diff 432366.May 26 2022, 1:11 PM

Rebase main

This revision was landed with ongoing or failed builds.May 26 2022, 1:31 PM
This revision was automatically updated to reflect the committed changes.