[clang] [llvm] [Mips] Implement MipsInstrInfo::getNop() operation (PR #135524)
via cfe-commits
cfe-commits at lists.llvm.org
Wed May 14 02:14:34 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list