[llvm-commits] [llvm] r102213 - /llvm/trunk/lib/Transforms/IPO/Inliner.cpp
Chris Lattner
sabre at nondot.org
Fri Apr 23 14:16:07 PDT 2010
Author: lattner
Date: Fri Apr 23 16:16:07 2010
New Revision: 102213
URL: http://llvm.org/viewvc/llvm-project?rev=102213&view=rev
Log:
enable my inliner change: add newly devirtualized call sites to
the worklist, making them inline candidates.
Modified:
llvm/trunk/lib/Transforms/IPO/Inliner.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Inliner.cpp?rev=102213&r1=102212&r2=102213&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp Fri Apr 23 16:16:07 2010
@@ -390,7 +390,7 @@
// 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];
More information about the llvm-commits
mailing list