[llvm] [SPARC] Prevent generic opcodes from being inserted into delay slots (PR #161111)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 2 20:03:12 PDT 2025
================
@@ -206,8 +206,8 @@ Filler::findDelayInstr(MachineBasicBlock &MBB,
if (!done)
--I;
- // skip debug instruction
- if (I->isDebugInstr())
+ // Skip debug and generic instructions.
+ if (I->isDebugInstr() || (I->getOpcode() <= TargetOpcode::GENERIC_OP_END))
----------------
arsenm wrote:
Generic is probably the wrong thing. isMetaInstruction?
https://github.com/llvm/llvm-project/pull/161111
More information about the llvm-commits
mailing list