================ @@ -87,6 +87,14 @@ MipsInstrInfo::GetMemOperand(MachineBasicBlock &MBB, int FI, MFI.getObjectAlign(FI)); } +MCInst MipsInstrInfo::getNop() const { + MCInst Nop; + // using Mips::NOP gives + // "fatal error: error in backend: Not supported instr: <MCInst 580>" ---------------- yingopq wrote:
Thanks for your advice. I submit a new pr https://github.com/llvm/llvm-project/pull/139863 to avoid this errror. Please help review. https://github.com/llvm/llvm-project/pull/135524 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits