[RISCV] Custom lower vector llvm.is.fpclass to vfclass.v
authorLiaoChunyu <chunyu@iscas.ac.cn>
Fri, 26 May 2023 06:19:45 +0000 (14:19 +0800)
committerLiaoChunyu <chunyu@iscas.ac.cn>
Fri, 26 May 2023 06:44:35 +0000 (14:44 +0800)
commit477d1080cb30a5959a0bd47ab84cbae2d87f1e13
treeb30cc3e548b145df488d94d5113e95128bcdec29
parentb92fb33409bb46ca3a1a8ead5cbb958b7f130442
[RISCV] Custom lower vector llvm.is.fpclass to vfclass.v

After D149063.
This patch adds support for both scalable and fixed-length vector.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D151176
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfclass.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfclass-sdnode.ll [new file with mode: 0644]