diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2016-10-25 16:45:17 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2016-10-25 16:45:17 +0000 |
commit | 824cabd06d61b91f1ef1da93a777a43f8b21ffb1 (patch) | |
tree | 51742514daae8f6d4430b8e8949d55c8f4ea7591 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 397f0aa0d3d3d4b5fe169cfb88653c6c78bb2b53 (diff) | |
download | llvm-824cabd06d61b91f1ef1da93a777a43f8b21ffb1.zip llvm-824cabd06d61b91f1ef1da93a777a43f8b21ffb1.tar.gz llvm-824cabd06d61b91f1ef1da93a777a43f8b21ffb1.tar.bz2 |
[IndVarSimplify][Dwarf] When widening the IV increment, correctly set the debug loc.
When indvars widened an induction variable, the debug location for the loop
increment computation was incorrectly set equal to the debug loc of the loop
latch terminator.
This patch fixes the issue by propagating the correct location from the
original loop increment instruction to the new widened increment.
Differential Revision: https://reviews.llvm.org/D25872
llvm-svn: 285083
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions