[llvm-branch-commits] [llvm] [NFC][SPIRV] Converge different `resolveDebugParentScope` versions into a single one (PR #219925)
Juan Manuel Martinez CaamaƱo via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Aug 31 05:43:34 PDT 2026
================
@@ -878,7 +818,12 @@ std::optional<MCRegister> SPIRVNonSemanticDebugHandler::emitDebugGlobalVariable(
SPIRV::ModuleAnalysisInfo &MAI) {
assert(GV && "GV must not be null in emitDebugGlobalVariable");
- MCRegister ParentReg = resolveGlobalVariableParent(GV);
+ assert(!CompileUnits.empty() &&
----------------
jmmartinez wrote:
Remove this.
https://github.com/llvm/llvm-project/pull/219925
More information about the llvm-branch-commits
mailing list