[all-commits] [llvm/llvm-project] 2c51be: [RISCV] Add a test of vector sadd.overflow to demo...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jan 18 10:43:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c51bef76cbf0149101b9e7c7c658b4a58657929
      https://github.com/llvm/llvm-project/commit/2c51bef76cbf0149101b9e7c7c658b4a58657929
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/RISCV/rvv/saddo-sdnode.ll

  Log Message:
  -----------
  [RISCV] Add a test of vector sadd.overflow to demonstrate intrinsics with multiple scalable vector results.

This builds on D94142 where scalable vectors are allowed in structs.

I did have to fix one scalable vector issue in the vector type
creation for these intrinsics where we used getVectorNumElements
instead of ElementCount.

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




More information about the All-commits mailing list