[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:31:02 PDT 2023


goldstein.w.n updated this revision to Diff 518529.
goldstein.w.n added a comment.

Make poison only: https://alive2.llvm.org/ce/z/vEMLxe seems to be okay if `undef` included


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.518529.patch
Type: text/x-patch
Size: 6021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230501/1fe233c3/attachment.bin>


More information about the llvm-commits mailing list