[PATCH] D29578: Propagate debug info for Phi node in SSAUpdater
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 09:22:15 PST 2017
samparker added inline comments.
================
Comment at: lib/Transforms/Utils/SSAUpdater.cpp:218
+void SSAUpdater::UpdatePHIDebugInfo(PHINode *PHI) {
+ LLVMContext &C = PHI->getParent()->getContext();
----------------
dberlin wrote:
> This looks really badly n^2 per call.
> Is there really no faster way?
>
I know it is going to be slow, but it was the only way I found... I have basically no experience in this area though and was hoping to get some suggestions.
https://reviews.llvm.org/D29578
More information about the llvm-commits
mailing list