HomePhabricator

[DebugInfo][LCSSA] Preserve debug location in lcssa phis

Authored by gramanas on Jul 31 2018, 7:54 AM.

Description

[DebugInfo][LCSSA] Preserve debug location in lcssa phis

Summary:
When inserting lcssa Phi Nodes in the exit block
mak sure to preserve the original instructions DL.

Reviewers: vsk

Subscribers: JDevlieghere, llvm-commits

Differential Revision: https://reviews.llvm.org/D50009

llvm-svn: 338391

Details