[llvm] [Verifier][CGP] Allow integer argument to dbg_declare (PR #134803)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 01:12:01 PDT 2025


================
@@ -1556,6 +1556,9 @@ static bool processDbgDeclare(FunctionLoweringInfo &FuncInfo,
   if (processIfEntryValueDbgDeclare(FuncInfo, Address, Expr, Var, DbgLoc))
     return true;
 
+  if (!Address->getType()->isPointerTy())
+    return false;
----------------
arsenm wrote:

This part is untested (and needs globalisel equivalent?) 

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


More information about the llvm-commits mailing list