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:
6e8fd90
)
enable my inliner change: add newly devirtualized call sites to
author
Chris Lattner
<sabre@nondot.org>
Fri, 23 Apr 2010 21:16:07 +0000
(21:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 23 Apr 2010 21:16:07 +0000
(21:16 +0000)
the worklist, making them inline candidates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102213
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/Inliner.cpp
b/lib/Transforms/IPO/Inliner.cpp
index 1ac609ddf2c4eec141eb9afea355a8b555d7c1f4..06ccf6407059d43faa2901bd0a13114830771d07 100644
(file)
--- a/
lib/Transforms/IPO/Inliner.cpp
+++ b/
lib/Transforms/IPO/Inliner.cpp
@@
-390,7
+390,7
@@
bool Inliner::runOnSCC(CallGraphSCC &SCC) {
// If inlining this function devirtualized any call sites, throw them
// onto our worklist to process. They are useful inline candidates.
-#if
0
+#if
1
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
i != e; ++i) {
Value *Ptr = InlineInfo.DevirtualizedCalls[i];