[clang] [llvm] [RISCV] Add Propeller support for RISC-V (PR #170992)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 7 19:17:37 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;
----------------
topperc wrote:

Should this use the 2-byte C_NOP when the Zca extension is enabled?

https://github.com/llvm/llvm-project/pull/170992


More information about the llvm-commits mailing list