[llvm-branch-commits] [llvm] [KeyInstr] Inline atom info (PR #133481)

Stephen Tozer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 8 08:55:52 PDT 2025


================
@@ -1813,7 +1813,8 @@ static DebugLoc inlineDebugLoc(DebugLoc OrigDL, DILocation *InlinedAt,
                                DenseMap<const MDNode *, MDNode *> &IANodes) {
   auto IA = DebugLoc::appendInlinedAt(OrigDL, InlinedAt, Ctx, IANodes);
   return DILocation::get(Ctx, OrigDL.getLine(), OrigDL.getCol(),
-                         OrigDL.getScope(), IA);
+                         OrigDL.getScope(), IA, OrigDL.isImplicitCode(),
----------------
SLTozer wrote:

Similar to my comment on a different review, propagating `OrigDL`'s `IsImplicitCode` field is a change in behaviour.

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


More information about the llvm-branch-commits mailing list