summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-11-03 18:26:36 +0000
committerAdrian Prantl <aprantl@apple.com>2017-11-03 18:26:36 +0000
commit8fe9fb0ae57b7da25bceb154f4a798d347def42f (patch)
treeb113f78c320acdcc50edec54a2059207d5babb7c /llvm/lib/CodeGen
parent3aae328318209ac11d652c93806bdce7ffd3f41f (diff)
downloadbcm5719-llvm-8fe9fb0ae57b7da25bceb154f4a798d347def42f.tar.gz
bcm5719-llvm-8fe9fb0ae57b7da25bceb154f4a798d347def42f.zip
Revert "Invoke salvageDebugInfo from CodeGenPrepare's SinkCast()"
This reverts commit 317342 while investigating bot breakage. llvm-svn: 317345
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 73f014704b8..973ddebd987 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -1171,7 +1171,6 @@ static bool SinkCast(CastInst *CI) {
// If we removed all uses, nuke the cast.
if (CI->use_empty()) {
- salvageDebugInfo(*CI);
CI->eraseFromParent();
MadeChange = true;
}
OpenPOWER on IntegriCloud