[clang] [llvm] [RISCV] Add Propeller support for RISC-V (PR #170992)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 07:20:23 PST 2025
================
@@ -89,6 +89,15 @@ RISCVInstrInfo::RISCVInstrInfo(const RISCVSubtarget &STI)
#define GET_INSTRINFO_HELPERS
#include "RISCVGenInstrInfo.inc"
+void RISCVInstrInfo::insertNoop(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator MI) const {
+ DebugLoc DL;
----------------
leidian977 wrote:
Yes, you're right. I've updated insertNoop() to use C_NOP when Zca extension is enabled.
https://github.com/llvm/llvm-project/pull/170992
More information about the llvm-commits
mailing list