- Jan 24, 2010
-
-
Chris Lattner authored
llvm-svn: 94378
-
Chris Lattner authored
"sext cond" instead of a select. This simplifies some instcombine code, matches the policy for zext (cond ? 1 : 0 -> zext), and allows us to generate better code for a testcase on ppc. llvm-svn: 94339
-
Chris Lattner authored
llvm-svn: 94336
-
- Jan 23, 2010
-
-
Nick Lewycky authored
llvm-svn: 94331
-
Chris Lattner authored
for arbitrary terminators in predecessors, don't assume it is a conditional or uncond branch. The testcase shows an example where they can happen with switches. llvm-svn: 94323
-
Nick Lewycky authored
externally visible function, it can still find all callers of it and replace the parameters to a dead argument with undef. llvm-svn: 94322
-
Chris Lattner authored
handle the case when we can infer an input to the xor from all inputs that agree, instead of going into an infinite loop. Another part of PR6199 llvm-svn: 94321
-
Chris Lattner authored
llvm-svn: 94319
-
Chris Lattner authored
readme forever. llvm-svn: 94318
-
Eric Christopher authored
for strcpy. llvm-svn: 94287
-
Victor Hernandez authored
In mem2reg, for all alloca/stores that get promoted where the alloca has an associated llvm.dbg.declare instrinsic, insert an llvm.dbg.var intrinsic before each store llvm-svn: 94260
-
- Jan 22, 2010
-
-
Benjamin Kramer authored
llvm-svn: 94203
-
Bob Wilson authored
test on ARM. llvm-svn: 94198
-
Victor Hernandez authored
llvm-svn: 94194
-
Chris Lattner authored
missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
-
Dan Gohman authored
llvm-svn: 94123
-
Victor Hernandez authored
llvm-svn: 94114
-
Victor Hernandez authored
llvm-svn: 94113
-
Victor Hernandez authored
llvm-svn: 94112
-
Victor Hernandez authored
DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics() llvm-svn: 94111
-
Dan Gohman authored
loop-variant components, adds must be inserted after the increment. Keep track of the increment position for this case, and insert these adds in the correct location. llvm-svn: 94110
-
- Jan 21, 2010
-
-
Dan Gohman authored
llvm-svn: 94108
-
Dan Gohman authored
operands exceeds the number of registers used in the initial solution, as that wouldn't lead to a profitable solution anyway. llvm-svn: 94107
-
Dan Gohman authored
llvm-svn: 94104
-
Chris Lattner authored
ValueMapper.cpp ends up calling an out of line __ZNK4llvm12PATypeHolder3getEv, which is a template and llvm-config determines arbitrarily to use the one in libipo. This sucks, but keeping the #include is a reasonable workaround. llvm-svn: 94103
-
Chris Lattner authored
llvm-svn: 94102
-
Chris Lattner authored
llvm-svn: 94101
-
Victor Hernandez authored
llvm-svn: 94092
-
Victor Hernandez authored
llvm-svn: 94091
-
Dan Gohman authored
This new version is much more aggressive about doing "full" reduction in cases where it reduces register pressure, and also more aggressive about rewriting induction variables to count down (or up) to zero when doing so reduces register pressure. It currently uses fairly simplistic algorithms for finding reuse opportunities, but it introduces a new framework allows it to combine multiple strategies at once to form hybrid solutions, instead of doing all full-reduction or all base+index. llvm-svn: 94061
-
Eric Christopher authored
answers. This will update as object size checking gets better information. llvm-svn: 94059
-
Chris Lattner authored
llvm-svn: 94048
-
- Jan 20, 2010
-
-
Jakob Stoklund Olesen authored
No functional change except the forgotten test for InlineLimit.getNumOccurrences() == 0 in the CurrentThreshold2 calculation. llvm-svn: 94007
-
Victor Hernandez authored
llvm-svn: 93989
-
Victor Hernandez authored
Map operands of all function-local metadata, not just metadata passed to llvm.dbg.declare intrinsics llvm-svn: 93979
-
- Jan 19, 2010
-
-
Dan Gohman authored
than the scaled register. This makes it more likely that subsequent AddrModeMatcher queries will match the new address the same way as the old, instead of accidentally matching what had been the base register as the new scaled register, and then failing to match the scaled register. This fixes some problems with address-mode sinking multiple muls into a block, which will be a lot more common with some upcoming LoopStrengthReduction changes. llvm-svn: 93935
-
Chris Lattner authored
Evans! llvm-svn: 93884
-
Bob Wilson authored
are the same. I had already fixed a similar problem where the source and destination were different bitcasts derived from the same alloca, but the previous fix still did not handle the case where both operands are exactly the same value. Radar 7552893. llvm-svn: 93848
-
Eric Christopher authored
llvm-svn: 93831
-
- Jan 18, 2010
-
-
Chris Lattner authored
aggressive changed the canonical form from sext(trunc(x)) to ashr(lshr(x)), make sure to transform a couple more things into that canonical form, and catch a case where we missed turning zext/shl/ashr into a single sext. llvm-svn: 93787
-