[Utils] Salvage the debug info of DCE'ed 'sub' instructions
authorVedant Kumar <vsk@apple.com>
Tue, 13 Feb 2018 01:09:47 +0000 (01:09 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 13 Feb 2018 01:09:47 +0000 (01:09 +0000)
commit47b16c45d7acef402729e67d66aebafe5295af75
treebb6b35773391e832ba95c4e67a56a1669267ef61
parent96b7dc041b5e01949f654594b3761d8be7184ee5
[Utils] Salvage the debug info of DCE'ed 'sub' instructions

This salvages 14 debug values in a stage2 build of clang.

llvm-svn: 324974
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Transforms/InstCombine/debuginfo-variables.ll