[RISCV] Mark FSIN and other math functions as Expand for scalable vectors.
authorCraig Topper <craig.topper@sifive.com>
Fri, 10 Jun 2022 15:36:31 +0000 (08:36 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 10 Jun 2022 15:40:07 +0000 (08:40 -0700)
commite91051184c11194c2b26dd308ee7b5c07ddbbb49
treea6e567e22e0a93b2a7800cd519c44f0b860a6580
parent2247e4de83040efb2db934bd79a3f29603f20ae5
[RISCV] Mark FSIN and other math functions as Expand for scalable vectors.

This prevents them from being assumed legal by the cost model.

This matches what is done for AArch64 SVE.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D123799
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll [new file with mode: 0644]