Both of these intrinsics don't change the number of 1s/0s so we can
look directly through them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D157306
[ValueTracking] Add support for `bswap` and `bitreverse` in `isKnownToBeAPowerOfTwo` ClosedPublic Authored by goldstein.w.n on Aug 7 2023, 10:47 AM.
Details Summary Both of these intrinsics don't change the number of 1s/0s so we can
Diff Detail
Event Timelinegoldstein.w.n added a child revision: D157307: [ValueTracking] Add support for `fshl`/`fshr` in `isKnownToBeAPowerOfTwo`.Aug 7 2023, 10:50 AM goldstein.w.n added a parent revision: D157305: [ValueTracking] Use switch for Intrinsics in `isKnownToBePowerOfTwo`; NFC. This revision is now accepted and ready to land.Aug 7 2023, 11:23 AM This revision was landed with ongoing or failed builds.Aug 9 2023, 12:45 PM Closed by commit rG6f4d660d7faa: [ValueTracking] Add support for `bswap` and `bitreverse` in… (authored by goldstein.w.n). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548744 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/known-power-of-two.ll
|