[Transforms][Debugify] Ignore PHI nodes when checking for DebugLocs
authorPierre-vh <pierre.vanhoutryve@arm.com>
Thu, 27 Feb 2020 12:32:51 +0000 (12:32 +0000)
committerPierre-vh <pierre.vanhoutryve@arm.com>
Thu, 27 Feb 2020 16:14:11 +0000 (16:14 +0000)
commitf64e457cb75b61f6566de8327a1bfae498d5a296
tree74aba3929d3aa7d599a715d09c52e7c2d1a31204
parent00072c08c75050ae2c835b7bb0e505475dbcd7b9
[Transforms][Debugify] Ignore PHI nodes when checking for DebugLocs

Fix for: https://bugs.llvm.org/show_bug.cgi?id=37964

Differential Revision: https://reviews.llvm.org/D75242
llvm/lib/Transforms/Utils/Debugify.cpp
llvm/test/DebugInfo/pr37964.ll [new file with mode: 0644]