[Mlir-commits] [mlir] [MLIR][LLVM] Extend DIScopeForLLVMFuncOp to handle cross-file operatio… (PR #167844)

Guray Ozen llvmlistbot at llvm.org
Mon Nov 17 00:58:07 PST 2025


================
@@ -110,7 +110,9 @@ static Location getNestedLoc(Operation *op, LLVM::DIScopeAttr scopeAttr,
 }
 
 static void setLexicalBlockFileAttr(Operation *op) {
-  if (auto callSiteLoc = dyn_cast<CallSiteLoc>(op->getLoc())) {
+  Location opLoc = op->getLoc();
----------------
grypp wrote:

how can we test this code? 

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


More information about the Mlir-commits mailing list