[clang] [llvm] [Mips] Implement MipsInstrInfo::getNop() operation (PR #135524)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 17 00:59:37 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:
Did we need address this error and use Mips::NOP?
Mips::SSNOP is deprecated on MIPS32r6/MIPS64r6.
https://github.com/llvm/llvm-project/pull/135524
More information about the cfe-commits
mailing list