[PATCH] D107883: [DAGCombiner] Teach isKnownToBeAPowerOfTwo handle SPLAT_VECTOR.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 12 04:20:45 PDT 2021


jacquesguan updated this revision to Diff 365964.
jacquesguan added a comment.

Fix wrong return. Add udiv cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107883

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107883.365964.patch
Type: text/x-patch
Size: 12300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210812/25e2fac1/attachment.bin>


More information about the llvm-commits mailing list