[llvm] [SPIRV] Migrate NSDI emission from a machine pass to DebugHandlerBase (PR #191212)
Dmitry Sidorov via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 01:08:45 PDT 2026
================
@@ -678,6 +678,12 @@ void SPIRVModuleAnalysis::processOtherInstrs(const Module &M) {
MI.getOperand(2).getImm() ==
SPIRV::InstructionSet::
NonSemantic_Shader_DebugInfo_100) {
+ // TODO: This branch is dead. SPIRVNonSemanticDebugHandler emits NSDI
+ // instructions directly as MCInsts at print time; no
+ // MachineInstructions with the NonSemantic_Shader_DebugInfo_100 ext
----------------
MrSidims wrote:
nit: lets not call out the instruction set name (aka v .100) explicitly here
fine to keep it in other places where specification is mentioned
https://github.com/llvm/llvm-project/pull/191212
More information about the llvm-commits
mailing list