[all-commits] [llvm/llvm-project] 9fe6b9: [TargetLowering][RISCV] Fixed a scalable vector is...

eric-xtang1008 via All-commits all-commits at lists.llvm.org
Thu Nov 18 02:25:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fe6b9e802543c75dbb1d1c12ade64b7734f55aa
      https://github.com/llvm/llvm-project/commit/9fe6b9e802543c75dbb1d1c12ade64b7734f55aa
  Author: Eric Tang <tangxingxin1008 at gmail.com>
  Date:   2021-11-18 (Thu, 18 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    A llvm/test/CodeGen/AArch64/sve-smulo-sdnode.ll
    A llvm/test/CodeGen/AArch64/sve-umulo-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/smulo-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/umulo-sdnode.ll

  Log Message:
  -----------
  [TargetLowering][RISCV] Fixed a scalable vector issue when lowering [s|u]mul.overflow intrinsics

    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>

Reviewed By: craig.topper, frasercrmck

Differential Revision: https://reviews.llvm.org/D109809




More information about the All-commits mailing list