[llvm] [SPIR-V] Skip debug type sizes wider than 32 bits (PR #223678)

Manuel Carrasco via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 02:07:42 PDT 2026


================
@@ -1180,6 +1183,9 @@ std::optional<MCRegister> SPIRVNonSemanticDebugHandler::emitDebugTypeComposite(
   if (!ParentRegOpt)
     return std::nullopt;
 
+  if (!CT->isForwardDecl() && !isUInt<32>(CT->getSizeInBits()))
----------------
mgcarrasco wrote:

Thanks, let's remove this `!CT->isForwardDecl()` check. 

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


More information about the llvm-commits mailing list