[PATCH] D52467: [PowerPC] [NFC] Refactor code for printing register operands
Hiroshi Inoue via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 25 07:16:03 PDT 2018
inouehrs added inline comments.
================
Comment at: lib/Target/PowerPC/PPCInstrInfo.h:415
+ static unsigned getRegNumForOperand(const MCInstrDesc &Desc, unsigned Reg,
+ unsigned OpNo) {
+ if (Desc.TSFlags & PPCII::UseVSXReg) {
----------------
Why do we need `OpNo`? There is no use of this parameter.
Repository:
rL LLVM
https://reviews.llvm.org/D52467
More information about the llvm-commits
mailing list