[RISCV] Support peephole optimization to fold vmerge.vvm that has tail agnostic polic...
authorjacquesguan <Jianjian.Guan@streamcomputing.com>
Tue, 30 Aug 2022 09:17:55 +0000 (17:17 +0800)
committerjacquesguan <Jianjian.Guan@streamcomputing.com>
Wed, 21 Sep 2022 02:56:37 +0000 (10:56 +0800)
commit1cbf44bd503b047f114a585e6b6c034d15401e6d
treee11e70064911b866fc5e7a9af8a89c71a7436f39
parent514ac16b517e0490e016f4bd487d973b9f16be8d
[RISCV] Support peephole optimization to fold vmerge.vvm that has tail agnostic policy and unmasked intrinsics.

This patch supports the tail agnostic part of D130442.

Reviewed By: fakepaper56

Differential Revision: https://reviews.llvm.org/D132923
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-peephole-vmerge-vops.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect.ll
llvm/test/CodeGen/RISCV/rvv/fptosi-sat.ll
llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops-mir.ll
llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vselect-int-rv32.ll