[PATCH] D151421: [KnownBits] Simplify shl. NFCI.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 04:09:51 PDT 2023
foad added reviewers: nikic, goldstein.w.n.
foad added a subscriber: nikic.
foad added a comment.
@nikic this was a result of me trying to understand your implementation. I tried to:
- remove special cases (but perhaps some of these were deliberate early-outs to speed up to the common cases?)
- work in `unsigned` instead of APInt as much as possible
- take advantage of APInt::*shl_ov
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151421/new/
https://reviews.llvm.org/D151421
More information about the llvm-commits
mailing list