If the funnel shifts are rotates (op0 == op1) then the number of 1s/0s
don't change so we can just look through op0/op1.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D157307
[ValueTracking] Add support for `fshl`/`fshr` in `isKnownToBeAPowerOfTwo` ClosedPublic Authored by goldstein.w.n on Aug 7 2023, 10:47 AM.
Details Summary If the funnel shifts are rotates (op0 == op1) then the number of 1s/0s
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 7 2023, 11:26 AM This revision was landed with ongoing or failed builds.Aug 9 2023, 12:45 PM Closed by commit rG4f818daca64c: [ValueTracking] Add support for `fshl`/`fshr` in `isKnownToBeAPowerOfTwo` (authored by goldstein.w.n). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548745 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/known-power-of-two.ll
|