This is a fix for https://bugs.llvm.org/show_bug.cgi?id=37964
According to the comments of this bug, Debugify should not care about PHI nodes. This changes makes it so Debugify ignores PHI nodes when checking for the presence of a DebugLoc.
I also added a regression test, though I'm not sure if it's in the right folder.