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:
1462a9b
)
Teach the always inliner to release its inline cost estimates, like the basic
author
Nick Lewycky
<nicholas@mxc.ca>
Sat, 15 May 2010 04:26:25 +0000
(
04:26
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sat, 15 May 2010 04:26:25 +0000
(
04:26
+0000)
inliner did in r103653. Why does the always inliner even bother with cost
estimates anyways?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103858
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/InlineAlways.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/InlineAlways.cpp
b/lib/Transforms/IPO/InlineAlways.cpp
index bc8028c020a158f15e5bbffcb836ab2f8ecb675e..8e312e7d918554de97dadb9205b02ac7c85b3524 100644
(file)
--- a/
lib/Transforms/IPO/InlineAlways.cpp
+++ b/
lib/Transforms/IPO/InlineAlways.cpp
@@
-54,6
+54,9
@@
namespace {
return removeDeadFunctions(CG, &NeverInline);
}
virtual bool doInitialization(CallGraph &CG);
+ void releaseMemory() {
+ CA.clear();
+ }
};
}