[Mlir-commits] [mlir] [MLIR][LLVM] Fuse Scope into CallsiteLoc Callee (PR #74546)
Tori Baker
llvmlistbot at llvm.org
Thu Jan 11 08:36:13 PST 2024
================
@@ -330,7 +330,10 @@ llvm::DILocation *DebugTranslation::translateLoc(Location loc,
if (auto callLoc = dyn_cast<CallSiteLoc>(loc)) {
// For callsites, the caller is fed as the inlinedAt for the callee.
auto *callerLoc = translateLoc(callLoc.getCaller(), scope, inlinedAt);
- llvmLoc = translateLoc(callLoc.getCallee(), scope, callerLoc);
+ llvmLoc = translateLoc(callLoc.getCallee(), nullptr, callerLoc);
----------------
vwbaker wrote:
Thank you :) I was able to change it to reflect this
https://github.com/llvm/llvm-project/pull/74546
More information about the Mlir-commits
mailing list