Updated isPowerOfTwoRecurrence to correctly exclude certain signed-operation case
Added more test cases
Fixed formatting, typo
Details
Details
- Reviewers
davidxl
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D123726
[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
Summary Updated isPowerOfTwoRecurrence to correctly exclude certain signed-operation case
Diff Detail
Event Timelinehuangjd added a parent revision: D123071: [ValueTracking] Added support to deduce PHI Nodes values being a power of 2.Apr 13 2022, 1:12 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.
Revision Contents
Diff 422686 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
|