[CloneFunction] Preserve DT in DuplicateInstructionsInSplitBetween.
authorFlorian Hahn <florian.hahn@arm.com>
Thu, 22 Mar 2018 11:38:53 +0000 (11:38 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Thu, 22 Mar 2018 11:38:53 +0000 (11:38 +0000)
commit3bb822e7d627538ce3a28696ccfbf074c91cc9af
tree43e9e658d67356638ecfcd411082385ff1fa5b3d
parent7e69dd02bbe4c73e71d01071ba98088c1f1e5d37
[CloneFunction] Preserve DT in DuplicateInstructionsInSplitBetween.

DuplicateInstructionsInSplitBetween can preserve the DT by passing
through DT to SplitEdge.

Reviewers: sanjoy, junbuml, anna, kuhar

Reviewed By: kuhar

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

llvm-svn: 328189
llvm/include/llvm/Transforms/Utils/Cloning.h
llvm/lib/Transforms/Utils/CloneFunction.cpp