]> granicus.if.org Git - llvm/commit
loop-rotate: avoid duplicating dbg.value intrinsics in the entry block.
authorAdrian Prantl <aprantl@apple.com>
Wed, 1 Nov 2017 20:53:22 +0000 (20:53 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 1 Nov 2017 20:53:22 +0000 (20:53 +0000)
commit7b5f7b40ad51a43cbed5f6f821d9b702b633a8c4
tree5ade41ab0b35b850eb1fae36e62a9d0dca5fe62b
parentf14c45fbabe7da1ed204c8dd2d4b8a83f2d2767e
loop-rotate: avoid duplicating dbg.value intrinsics in the entry block.

This fixes the second half of PR35113.

This reapplies r317106 without modifications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317121 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopRotation.cpp
test/Transforms/LoopRotate/dbg-value-duplicates.ll