[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2007-04-15 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.55 -> 1.56 --- Log message: Fix PR1335: http://llvm.org/PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll --- Diffs of the changes: (+5 -4) InlineFunction.cpp |9 + 1 files changed, 5 insertions(+)

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2007-02-20 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.53 -> 1.54 --- Log message: Fix typos in comments. --- Diffs of the changes: (+1 -1) InlineFunction.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Utils/InlineFunction.

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2007-01-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.48 -> 1.49 --- Log message: prepare for adjustment to getOrInsertFunction method --- Diffs of the changes: (+8 -6) InlineFunction.cpp | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) Inde

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-09-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.46 -> 1.47 --- Log message: Implement the first half of Transforms/Inline/inline_cleanup.ll --- Diffs of the changes: (+9 -1) InlineFunction.cpp | 10 +- 1 files changed, 9 insertions(+), 1 deletion(-)

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-07-18 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.45 -> 1.46 --- Log message: silence warnings in a release build --- Diffs of the changes: (+1 -1) InlineFunction.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Utils/In

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-07-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.44 -> 1.45 --- Log message: Handle instructions in the map, but that map to a null pointer. This unbreaks smg2000. --- Diffs of the changes: (+2 -1) InlineFunction.cpp |3 ++- 1 files changed, 2 insertions(+)

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-07-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.43 -> 1.44 --- Log message: In addition to deleting calls, the inliner can constant fold them as well. Handle this case, which doesn't require a new callgraph edge. This fixes a crash compiling MallocBench/gs. ---

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-07-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.42 -> 1.43 --- Log message: Change the callgraph representation to store the callsite along with the target CG node. This allows the inliner to properly update the callgraph when using the pruning inliner. The pruni

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-05-26 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.41 -> 1.42 --- Log message: Switch the inliner over to using CloneAndPruneFunctionInto. This effectively makes it so that it constant folds instructions on the fly. This is good for several reasons: 0. Many instruc

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-14 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.40 -> 1.41 --- Log message: Teach the inliner to update the CallGraph itself, and have it add edges to llvm.stacksave/restore when it inserts calls to them. --- Diffs of the changes: (+53 -4) InlineFunction.cpp

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.39 -> 1.40 --- Log message: If inlining a call to a function that contains dynamic allocas, wrap the resultant code with llvm.stacksave/llvm.stackrestore intrinsics. --- Diffs of the changes: (+30 -0) InlineFunct

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.37 -> 1.38 --- Log message: Use the ClonedCodeInfo object to avoid scans of the inlined code when it doesn't contain any calls. This is a fairly common case for C++ code, so it will probably speed up the inliner marg

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.36 -> 1.37 --- Log message: Refactor a bunch of invoke handling stuff out into a new function "HandleInlinedInvoke". No functionality change. --- Diffs of the changes: (+108 -88) InlineFunction.cpp | 196 ++

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.38 -> 1.39 --- Log message: Use ClonedCodeInfo to avoid another walk over the inlined code, this this time in common C cases. --- Diffs of the changes: (+4 -2) InlineFunction.cpp |6 -- 1 files changed, 4

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.35 -> 1.36 --- Log message: Fix a bug I noticed by inspection: if the first instruction in the inlined function was not an alloca, we wouldn't check the entry block for any allocas, leading to increased stack space in