[PATCH] D157800: [ValueTracking] Improve analysis of knownbits from incoming phi edges.
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 12 14:43:45 PDT 2023
goldstein.w.n created this revision.
goldstein.w.n added reviewers: nikic, RKSimon, foad.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Just fill in missing cases (TODO) for `ugt`, `uge`, `sgt`, `sge`,
`slt`, and `sle`. These are all in the same spirit as `ult`/`uge`, but
each of the other conditions have different constraints.
Proofs: https://alive2.llvm.org/ce/z/gnj4o-
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157800
Files:
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/phi-known-bits.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157800.549653.patch
Type: text/x-patch
Size: 6507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230812/a2f6ecfa/attachment.bin>
More information about the llvm-commits
mailing list