This is an archive of the discontinued LLVM Phabricator instance.

PR27938: Don't remove valid DebugLoc in Scalarizer
AbandonedPublic

Authored by Ka-Ka on May 31 2016, 2:39 AM.

Details

Reviewers
rsandifo
Summary

Added checks to make sure the Scalarizer::transferMetadata() don't
remove valid debug location's from instructions. This is important as
the verifier pass require that e.g. inlinable callsites have a valid
debug location.

https://llvm.org/bugs/show_bug.cgi?id=27938

Diff Detail

Event Timeline

Ka-Ka updated this revision to Diff 59029.May 31 2016, 2:39 AM
Ka-Ka retitled this revision from to PR27938: Don't remove valid DebugLoc in Scalarizer.
Ka-Ka updated this object.
Ka-Ka added a reviewer: rsandifo.
Ka-Ka added a subscriber: llvm-commits.
Ka-Ka abandoned this revision.May 31 2016, 2:43 AM

Inverted diff. Abandon.

lib/Transforms/Scalar/Scalarizer.cpp