projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a49a6
)
[SimplifyLibCalls] Remove dead code.
author
Davide Italiano
<davide@freebsd.org>
Sat, 31 Oct 2015 08:28:10 +0000
(08:28 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Sat, 31 Oct 2015 08:28:10 +0000
(08:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251737
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyLibCalls.cpp
b/lib/Transforms/Utils/SimplifyLibCalls.cpp
index 338f9a433ee25cd4a44511759b3cb5351d277aaf..798bc5df6dbbf03416bffe089b645cb3779d418c 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ b/
lib/Transforms/Utils/SimplifyLibCalls.cpp
@@
-2207,12
+2207,6
@@
void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) {
Replacer(I, With);
}
-/*static*/ void LibCallSimplifier::replaceAllUsesWithDefault(Instruction *I,
- Value *With) {
- I->replaceAllUsesWith(With);
- I->eraseFromParent();
-}
-
// TODO:
// Additional cases that we need to add to this file:
//