[PATCH] D42551: [Debug] Add dbg.value intrinsics for PHIs created during LCSSA.
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 15:23:59 PST 2018
davide 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?
Agree, this doesn't work for empty blocks. You can probably also have a block with only PHIs (dead phi-nodes) & a terminator as Adrian describes.
Repository:
rL LLVM
https://reviews.llvm.org/D42551
More information about the llvm-commits
mailing list