Recommit "[RISCV] Add a test of vector sadd.overflow to demonstrate intrinsics with...
authorCraig Topper <craig.topper@sifive.com>
Mon, 18 Jan 2021 19:05:11 +0000 (11:05 -0800)
committerCraig Topper <craig.topper@sifive.com>
Mon, 18 Jan 2021 19:08:28 +0000 (11:08 -0800)
commit79e798aca38baa260b9f3318991232dd1b5fc3f6
tree70b358bdbed9c4f71e6cb2b43bcd9f639d24846c
parent5d431c3d32c7736d74c6a9dfe4a9a43f183d880f
Recommit "[RISCV] Add a test of vector sadd.overflow to demonstrate intrinsics with multiple scalable vector results."

This recommits 2c51bef76cbf0149101b9e7c7c658b4a58657929.

I've fixed the broken check line from when I renamed the test function.

Original commit message:
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.
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/RISCV/rvv/saddo-sdnode.ll [new file with mode: 0644]