[RISCV][NFC] Add policy operand for RISCVISD::VSLIDEUP_VL and RISCVISD::VSLIDEDOWN_VL.
authorYeting Kuo <yeting.kuo@sifive.com>
Tue, 20 Dec 2022 12:28:53 +0000 (20:28 +0800)
committerYeting Kuo <yeting.kuo@sifive.com>
Wed, 21 Dec 2022 02:50:04 +0000 (10:50 +0800)
commitf8a05727b03093081b28589ac9c52cfe98d1ca78
treee685c90b48ea2b7d21552c9db03b82130153180c
parent88793a0478b4745c8ae15f6f1d265e0988df909c
[RISCV][NFC] Add policy operand for RISCVISD::VSLIDEUP_VL and RISCVISD::VSLIDEDOWN_VL.

There is room for optimization to use tail agnostic vslideup/vslidedown to lower
some vector operations. D125546 is an revision for the kind of optimization.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D140393
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td