[PATCH] D109809: [RISCV] Fixed a scalable vector issue when lowering [s|u]mul.overflow intrinsics

eric tang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 00:19:21 PDT 2021


tangxingxin1008 created this revision.
tangxingxin1008 added reviewers: craig.topper, frasercrmck.
Herald added subscribers: vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
tangxingxin1008 requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

  Fixed the vector type issue that where we used getVectorNumElements()
  should be replaced by getVectorElementCount() when lowering these
  intrinsics.
  
  This is similar to D94149

Signed-off-by: Eric Tang <tangxingxin1008 at gmail.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109809

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/smulo-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/umulo-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109809.372642.patch
Type: text/x-patch
Size: 42287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210915/795806fb/attachment.bin>


More information about the llvm-commits mailing list