[VP][RISCV] Add vp.sqrt intrinsic and RISC-V support.
authorYeting Kuo <yeting.kuo@sifive.com>
Mon, 12 Sep 2022 12:57:39 +0000 (20:57 +0800)
committerYeting Kuo <yeting.kuo@sifive.com>
Mon, 26 Sep 2022 02:47:40 +0000 (10:47 +0800)
commit43c5fbdd3a86ac8f7d3f6697b3916b4f9657d548
tree5a91d7b02f6c2f43defc36ef210997479c70f7b4
parentad6fe32032a6229e0c40510e9bed419a01c695b3
[VP][RISCV] Add vp.sqrt intrinsic and RISC-V support.

The patch modeled vp.fabs patch D132793.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D133690
llvm/docs/LangRef.rst
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/IR/VPIntrinsics.def
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfsqrt-vp.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfsqrt-vp.ll [new file with mode: 0644]
llvm/unittests/IR/VPIntrinsicTest.cpp