Add Value Tracking support to deduce induction variable being a power of 2, allowing urem optimizations
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The test changes resulting from only this code change should be included in this patch.
Comment Actions
I think you accidentally uploaded a partial diff (that just addresses review feedback, without the base patch).
Comment Actions
LGTM - do you have commit privileges?
Note: it might be worth comparing this code to the SelectionDAG equivalent; that ends by calling computeKnownBits to catch all of the non-special cases while this code just gives up (returns false).
Comment Actions
I think arc is confused about the git commits to include and the unit test changes are missing again. I will make a clean diff