[RISCV] Add OPCFG format of vector. NFC
authorCraig Topper <craig.topper@sifive.com>
Fri, 11 Nov 2022 01:59:47 +0000 (17:59 -0800)
committerCraig Topper <craig.topper@sifive.com>
Fri, 11 Nov 2022 05:00:58 +0000 (21:00 -0800)
Refer to https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#101-vector-arithmetic-instruction-encoding

Patch by Jiejie Rong

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D137694

llvm/lib/Target/RISCV/RISCVInstrFormatsV.td

index 69e9d35..90ae61e 100644 (file)
@@ -20,6 +20,7 @@ def OPIVI : RISCVVFormat<0b011>;
 def OPIVX : RISCVVFormat<0b100>;
 def OPFVF : RISCVVFormat<0b101>;
 def OPMVX : RISCVVFormat<0b110>;
+def OPCFG : RISCVVFormat<0b111>;
 
 class RISCVMOP<bits<2> val> {
   bits<2> Value = val;