Skip to content

Commit ae7751f

Browse files
authored
[RISCV][VCIX] Add a tied constraint between rd and rs3 in sf.v.xvv and sf.v.xvw instructions (#111630)
The instruction has the constraint, but the pseudo instruction is missing.
1 parent 2a68f82 commit ae7751f

File tree

3 files changed

+345
-344
lines changed

3 files changed

+345
-344
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ class VPseudoVC_V_XVV<Operand OpClass, VReg RDClass, VReg RS2Class,
305305
let HasVLOp = 1;
306306
let HasSEWOp = 1;
307307
let hasSideEffects = 0;
308+
let Constraints = "$rd = $rs3";
308309
let BaseInstr = !cast<Instruction>(PseudoToVInst<NAME>.VInst);
309310
}
310311

0 commit comments

Comments
 (0)