================
@@ -590,8 +592,31 @@ void NVPTXAsmPrinter::emitInstruction(const MachineInstr 
*MI) {
 
 void NVPTXAsmPrinter::lowerToMCInst(const MachineInstr *MI, MCInst &OutMI) {
   OutMI.setOpcode(MI->getOpcode());
-  for (const auto MO : MI->operands())
-    OutMI.addOperand(lowerOperand(MO));
+  for (unsigned I = 0, E = MI->getNumOperands(); I != E; ++I)
----------------
daniel-donenfeld wrote:

I can change this back and move the check for the callprototype arg into 
lowerOperand

https://github.com/llvm/llvm-project/pull/205639
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to