[VP] Teach isVPBinaryOp to recognize vp.smin/smax/umin/umax/minnum/maxnum.
authorYeting Kuo <yeting.kuo@sifive.com>
Wed, 12 Oct 2022 07:44:09 +0000 (15:44 +0800)
committerYeting Kuo <yeting.kuo@sifive.com>
Wed, 19 Oct 2022 23:21:13 +0000 (07:21 +0800)
commit55ae180a4cb7fc68b3ac153f07752c8c6a2d92f0
tree9bdd4e903024b2f1a6d40f1d44024a231eee51f5
parent9a8f3b113d05d94d9aaacdf511365dde4e35ce4f
[VP] Teach isVPBinaryOp to recognize vp.smin/smax/umin/umax/minnum/maxnum.

Those vp intrinsics should be vp binary operations.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D135753
llvm/include/llvm/IR/VPIntrinsics.def
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmax-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmaxu-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmin-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vminu-vp.ll
llvm/test/CodeGen/RISCV/rvv/vmax-vp.ll
llvm/test/CodeGen/RISCV/rvv/vmaxu-vp.ll
llvm/test/CodeGen/RISCV/rvv/vmin-vp.ll
llvm/test/CodeGen/RISCV/rvv/vminu-vp.ll