IndVarSimplify: preserve debug information attached to widened PHI nodes.
authorAdrian Prantl <aprantl@apple.com>
Thu, 2 Nov 2017 23:17:06 +0000 (23:17 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 2 Nov 2017 23:17:06 +0000 (23:17 +0000)
commita555cf06835827701a43bb0528d74bfc195fdeb8
tree5f9fb0d3b588f08764d76bd2acb7ab36c67cf013
parent56898c124500c5871061bcdae65eb2033743438b
IndVarSimplify: preserve debug information attached to widened PHI nodes.

This fixes PR35015.

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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317282 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/scev-phi-debug-info.ll [new file with mode: 0644]