This is an archive of the discontinued LLVM Phabricator instance.

[Transforms][Debugify] Ignore PHI nodes when checking for DebugLocs
ClosedPublic

Authored by Pierre-vh on Feb 27 2020, 4:41 AM.

Details

Summary

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.

Diff Detail