[PATCH] D101195: [CSSPGO] Fix missing debug info of dangling pseudo probe
Lei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 13:42:33 PDT 2021
wlei added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:2386
if (!SpeculatedStoreValue || &I != SpeculatedStore)
I.setDebugLoc(DebugLoc());
I.dropUnknownNonDebugMetadata();
----------------
wenlei wrote:
> can we assert we are not dropping dbg metadata for any probes?
Good point, assertion added.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101195/new/
https://reviews.llvm.org/D101195
More information about the llvm-commits
mailing list