HomePhabricator

[DebugInfo][LoopVectorize] Preserve DL in generated phi instruction

Authored by gramanas on Jul 4 2018, 3:16 AM.

Description

[DebugInfo][LoopVectorize] Preserve DL in generated phi instruction

When creating phi instructions to resume at the scalar part of the loop,
copy the DebugLoc from the original phi over to the new one.

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

llvm-svn: 336256