[PATCH] D149423: [ValueTracking] Use knownbits interface for determining if `div`/`rem` are safe to speculate

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 12:59:36 PDT 2023


goldstein.w.n updated this revision to Diff 518539.
goldstein.w.n marked 3 inline comments as done.
goldstein.w.n added a comment.

Also check poison on `-1` denum case


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149423/new/

https://reviews.llvm.org/D149423

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/LICM/speculate-div.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149423.518539.patch
Type: text/x-patch
Size: 6837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230501/a6035377/attachment.bin>


More information about the llvm-commits mailing list