[PATCH] D85670: [Instruction] Add updateLocationAfterHoist helper
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 16:56:07 PDT 2020
aprantl added inline comments.
================
Comment at: llvm/lib/IR/DebugInfo.cpp:717
+ // Avoid making it look like the inlined callee was reached early.
+ setDebugLoc(DebugLoc::get(0, 0, SP));
+ else
----------------
Should we pick up a scope from the instruction before it to avoid having a hole in that scope's range?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85670/new/
https://reviews.llvm.org/D85670
More information about the llvm-commits
mailing list