[PATCH] D42551: [Debug] Add dbg.value intrinsics for PHIs created during LCSSA.
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 15:23:59 PST 2018
vsk added a comment.
In https://reviews.llvm.org/D42551#988510, @aprantl wrote:
> I don't think this is correct. What if the first nonphi instruction is the terminator?
Oh I see. What about just inserting the dbg.value before the terminator? That should work for landingpad etc.
Repository:
rL LLVM
https://reviews.llvm.org/D42551
More information about the llvm-commits
mailing list