[PATCH] D139662: [CodeExtractor] Preserve entire scope of !DIVariables when moving them
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 14:58:55 PST 2022
aprantl added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/CodeExtractor.cpp:1593
+ // inlined, point the intrinsic to a fresh variable within the new function.
+ if (DVI->getDebugLoc().getInlinedAt() == nullptr) {
+ DILocalVariable *OldVar = DVI->getVariable();
----------------
if (!)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139662/new/
https://reviews.llvm.org/D139662
More information about the llvm-commits
mailing list