[llvm] AMDGPU coverity fixes (PR #182013)
RafaĆ Rudnicki via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 20 01:08:16 PST 2026
================
@@ -247,6 +247,8 @@ void AMDGPUMCInstLower::lower(const MachineInstr *MI, MCInst &OutMI) const {
LLVMContext &C = MI->getMF()->getFunction().getContext();
C.emitError("AMDGPUMCInstLower::lower - Pseudo instruction doesn't have "
"a target-specific version: " + Twine(MI->getOpcode()));
+ MI->print(errs());
----------------
bratpiorka wrote:
ok, I removed the print(), but I see that we also print in `emitInstruction(const MachineInstr *MI)`. Should I remove that as well?
https://github.com/llvm/llvm-project/pull/182013
More information about the llvm-commits
mailing list