[PATCH] D149199: [SelectionDAG] Fill in some more cases in `isKnownNeverZero`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 14:27:53 PDT 2023


goldstein.w.n created this revision.
goldstein.w.n added reviewers: RKSimon, craig.topper.
Herald added subscribers: kosarev, ecnelises, kerbowa, pengfei, hiraditya, jvesely.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This mostly copies cases that already exist in ValueTracking, although
it skips the more complex ones. Those can be filled in as needed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149199

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
  llvm/test/CodeGen/X86/divrem-by-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149199.516915.patch
Type: text/x-patch
Size: 14539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230425/57e9051e/attachment.bin>


More information about the llvm-commits mailing list