[PATCH] D137808: [RISCV] Add OPCFG format and use it for vsetvli. NFC
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 10 21:08:41 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG48c4da214856: [RISCV] Use OPCFG format record for vsetvli in tablgen. NFC (authored by craig.topper).
Changed prior to commit:
https://reviews.llvm.org/D137808?vs=474638&id=474656#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137808/new/
https://reviews.llvm.org/D137808
Files:
llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
Index: llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
+++ llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
@@ -64,7 +64,7 @@
let Inst{30} = 1;
let Inst{29-20} = vtypei{9-0};
let Inst{19-15} = uimm;
- let Inst{14-12} = 0b111;
+ let Inst{14-12} = OPCFG.Value;
let Inst{11-7} = rd;
let Opcode = OPC_OP_V.Value;
@@ -80,7 +80,7 @@
let Inst{31} = 0;
let Inst{30-20} = vtypei;
let Inst{19-15} = rs1;
- let Inst{14-12} = 0b111;
+ let Inst{14-12} = OPCFG.Value;
let Inst{11-7} = rd;
let Opcode = OPC_OP_V.Value;
@@ -97,7 +97,7 @@
let Inst{30-25} = 0b000000;
let Inst{24-20} = rs2;
let Inst{19-15} = rs1;
- let Inst{14-12} = 0b111;
+ let Inst{14-12} = OPCFG.Value;
let Inst{11-7} = rd;
let Opcode = OPC_OP_V.Value;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137808.474656.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221111/58172dab/attachment.bin>
More information about the llvm-commits
mailing list