[PATCH] D149198: [DAGCombiner] Make it so that `udiv` can be folded with `(select c, NonZero, 1)`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 15:18:32 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG74f0ec5e2435: [DAGCombiner] Make it so that `udiv` can be folded with `(select c, NonZero, 1)` (authored by goldstein.w.n).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149198

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode.ll
  llvm/test/CodeGen/X86/divrem-by-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149198.539762.patch
Type: text/x-patch
Size: 9915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/6db20ddd/attachment.bin>


More information about the llvm-commits mailing list