[llvm] [RISCV] Add RISCVII::getTWidenOpNum. NFC (PR #182335)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 23:54:55 PST 2026


================
@@ -64,8 +64,8 @@ static VNInfo *getVNInfoFromReg(Register Reg, const MachineInstr &MI,
   return LI.getVNInfoBefore(SI);
 }
 
-static unsigned getVLOpNum(const MachineInstr &MI) {
-  return RISCVII::getVLOpNum(MI.getDesc());
+static MachineOperand &getVLOp(MachineInstr &MI) {
----------------
wangpc-pp wrote:

Yes, but I think that is not a big deal.

https://github.com/llvm/llvm-project/pull/182335


More information about the llvm-commits mailing list