- Nov 03, 2008
-
-
Andrew Lenharth authored
add a period at the end of the comment, ignoring the fact that the comment would be hard pressed to be considered a sentence, but if it makes Bill happy... llvm-svn: 58630
-
Devang Patel authored
This allows SCEV users to effectively calculate trip count. LSR later on transforms back integer IVs to floating point IVs later on to avoid int-to-float casts inside the loop. llvm-svn: 58625
-
Andrew Lenharth authored
llvm-svn: 58615
-
Nick Lewycky authored
llvm-svn: 58593
-
- Nov 02, 2008
-
-
Nick Lewycky authored
* merge two weak functions by making them both alias a third non-weak fn * don't reimplement CallSite::hasArgument * whitelist the safe linkage types llvm-svn: 58568
-
Duncan Sands authored
cast from ‘const llvm::PointerType*’ to ‘unsigned int’ loses precision). llvm-svn: 58561
-
Oscar Fuentes authored
llvm-svn: 58559
-
Nick Lewycky authored
This triggers only 60 times in llvm-test (look at .llvm.bc, not .linked.rbc) and so it probably wont be turned on by default. Also, may of those are likely to go away when PR2973 is fixed. llvm-svn: 58557
-
Nick Lewycky authored
by Richard Osborne. llvm-svn: 58555
-
Dan Gohman authored
ConstantInt, and SI is the original cast instruction. This fixes PR2996. llvm-svn: 58549
-
- Oct 31, 2008
-
-
Daniel Dunbar authored
llvm-svn: 58486
-
- Oct 30, 2008
-
-
Dan Gohman authored
optimizations accordingly. llvm-svn: 58457
-
Daniel Dunbar authored
function. - This explicitly models the costs for functions which should "always" or "never" be inlined. This fixes bugs where such costs were not previously respected. llvm-svn: 58450
-
- Oct 29, 2008
-
-
Chris Lattner authored
I don't really see this as being needed, but there is little harm from doing it. llvm-svn: 58385
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58355
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58352
-
- Oct 28, 2008
-
-
Dan Gohman authored
llvm-svn: 58351
-
- Oct 27, 2008
-
-
Torok Edwin authored
that need it to require it by ID. llvm-svn: 58238
-
Chris Lattner authored
LargeBlockInfo, we can now dramatically simplify their implementation and speed them up at the same time. Now the code has time proportional to the number of uses of the alloca, not the size of the block. This also eliminates code that tried to batch up different allocas which are used in the same blocks, and eliminates the 'retry list' logic which was baroque and no unneccesary. In addition to being a speedup for crazy cases, this is also a nice cleanup: PromoteMemoryToRegister.cpp | 270 +++++++++++++++----------------------------- 1 file changed, 96 insertions(+), 174 deletions(-) llvm-svn: 58229
-
Chris Lattner authored
a trivial dense map. Use this in RewriteSingleStoreAlloca to avoid aggressively rescanning blocks over and over again. This fixes PR2925, speeding up mem2reg on the testcase in that bug from 4.56s to 0.02s in a debug build on my machine. llvm-svn: 58227
-
- Oct 24, 2008
-
-
Nick Lewycky authored
Understand that mul %x, 1 = %x. llvm-svn: 58069
-
- Oct 23, 2008
-
-
Daniel Dunbar authored
LoopPass*. - Although less precise, this means they can be used in clients without RTTI (who would otherwise need to include LoopPass.h, which eventually includes things using dynamic_cast). This was the simplest solution that presented itself, but I am happy to use a better one if available. llvm-svn: 58010
-
- Oct 21, 2008
-
-
Dan Gohman authored
llvm-svn: 57870
-
Dan Gohman authored
llvm-svn: 57864
-
- Oct 17, 2008
-
-
Dan Gohman authored
llvm-svn: 57660
-
- Oct 16, 2008
-
-
Dan Gohman authored
to find opportunities for store-to-load forwarding or load CSE, in the same way that visitStore scans back to do DSE. Also, define a new helper function for testing whether the addresses of two memory accesses are known to have the same value, and use it in both visitStore and visitLoad. These two changes allow instcombine to eliminate loads in code produced by front-ends that frequently emit obviously redundant addressing for memory references. llvm-svn: 57608
-
- Oct 14, 2008
-
-
Evan Cheng authored
llvm-svn: 57515
-
Evan Cheng authored
- Renumber fcmp predicates to match their icmp counterparts. - Try swapping operands to expose more optimization opportunities. llvm-svn: 57513
-
Evan Cheng authored
ord && olt -> olt ord && ueq -> oeq llvm-svn: 57507
-
- Oct 13, 2008
-
-
Matthijs Kooijman authored
constant expression with all zero indices as being the same as a bitcast. llvm-svn: 57442
-
- Oct 12, 2008
-
-
Chris Lattner authored
a couple other cases for clarity, but shouldn't affect correctness. Patch by Eli Friedman! llvm-svn: 57387
-
- Oct 11, 2008
-
-
Devang Patel authored
This patch fixes PR 2869 llvm-svn: 57369
-
- Oct 10, 2008
-
-
Nuno Lopes authored
llvm-svn: 57353
-
Dale Johannesen authored
and APFloat::convertToInteger. Restore return value to IEEE754. Adjust all users accordingly. llvm-svn: 57329
-
- Oct 09, 2008
-
-
Nick Lewycky authored
llvm-svn: 57320
-
- Oct 08, 2008
-
-
Nuno Lopes authored
llvm-svn: 57305
-
Duncan Sands authored
Patch by Samuel Tardieu. llvm-svn: 57291
-
Chris Lattner authored
patch by Samuel Tardieu! llvm-svn: 57288
-
- Oct 07, 2008
-
-
Andrew Lenharth authored
llvm-svn: 57254
-
Devang Patel authored
llvm-svn: 57221
-