OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e3c65d
)
GlobalDCE: Restore a statement accidentally removed in r285048.
author
Peter Collingbourne
<peter@pcc.me.uk>
Tue, 25 Oct 2016 02:57:27 +0000
(
02:57
+0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Tue, 25 Oct 2016 02:57:27 +0000
(
02:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285052
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/GlobalDCE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/GlobalDCE.cpp
b/lib/Transforms/IPO/GlobalDCE.cpp
index
aaa9f89
..
7a04de3
100644
(file)
--- a/
lib/Transforms/IPO/GlobalDCE.cpp
+++ b/
lib/Transforms/IPO/GlobalDCE.cpp
@@
-182,6
+182,7
@@
PreservedAnalyses GlobalDCEPass::run(Module &M, ModuleAnalysisManager &) {
for (GlobalAlias *GA : DeadAliases)
EraseUnusedGlobalValue(GA);
+ NumIFuncs += DeadIFuncs.size();
for (GlobalIFunc *GIF : DeadIFuncs)
EraseUnusedGlobalValue(GIF);