- Jun 22, 2009
-
-
Owen Anderson authored
llvm-svn: 73906
-
Dan Gohman authored
now, this hasn't mattered, because ScalarEvolution hasn't been able to compute trip counts for loops with multiple exits. But it will soon. llvm-svn: 73864
-
Dan Gohman authored
terminology that LoopInfo uses. llvm-svn: 73863
-
- Jun 20, 2009
-
-
Dan Gohman authored
llvm-svn: 73796
-
Dan Gohman authored
hand-crafted testcase which demonstrates the bug that was exposed in 254.gap. llvm-svn: 73793
-
Dan Gohman authored
which it isn't prepared to handle. llvm-svn: 73787
-
- Jun 19, 2009
-
-
Evan Cheng authored
llvm-svn: 73783
-
Chris Lattner authored
as if they were multiple uses of the same instruction. This interacts well with the existing loadpre that j-t does to open up many new jump threads earlier. llvm-svn: 73768
-
Nick Lewycky authored
llvm-svn: 73755
-
Chris Lattner authored
when it allows forming a tail call. Patch by Frits van Bommel. This implements PR4323. llvm-svn: 73752
-
Chris Lattner authored
strcmp -> memcmp when the lengths of the strings are unknown. Patch by Nick Lewycky! llvm-svn: 73751
-
- Jun 18, 2009
-
-
Dan Gohman authored
as signed max tests. Along with r73717, this helps CodeGen avoid emitting code for a maximum operation for this class of loop. llvm-svn: 73718
-
Anton Korobeynikov authored
llvm-svn: 73715
-
Dan Gohman authored
casted induction variables in cases where the cast isn't foldable. It ended up being a pessimization in many cases. This could be fixed, but it would require a bunch of complicated code in IVUsers' clients. The advantages of this approach aren't visible enough to justify it at this time. llvm-svn: 73706
-
Dan Gohman authored
C is not a low-bits mask, and add a similar instcombine for zext((trunc(t) & C) ^ C). llvm-svn: 73705
-
Dan Gohman authored
multiple users. llvm-svn: 73656
-
- Jun 17, 2009
-
-
Dale Johannesen authored
move loads back past a check that the load address is valid, see new testcase. The test that went in with 72661 has exactly this case, except that the conditional it's moving past is checking something else; I've settled for changing that test to reference a global, not a pointer. It may be possible to scan all the tests you pass and make sure none of them are checking any component of the address, but it's not trivial and I'm not trying to do that here. llvm-svn: 73632
-
Torok Edwin authored
llvm-svn: 73625
-
Dan Gohman authored
llvm-svn: 73621
-
Eli Friedman authored
SRem. llvm-svn: 73598
-
- Jun 16, 2009
-
-
Dan Gohman authored
llvm-svn: 73541
-
Chris Lattner authored
to ignore readonly calls, and factor it out of instcombine so that it can be used by other passes. Patch by Frits van Bommel! llvm-svn: 73506
-
Dan Gohman authored
llvm-svn: 73451
-
Dan Gohman authored
failures. To support this, add some utility functions to Type to help support vector/scalar-independent code. Change ConstantInt::get and ConstantFP::get to support vector types, and add an overload to ConstantInt::get that uses a static IntegerType type, for convenience. Introduce a new getConstant method for ScalarEvolution, to simplify common use cases. llvm-svn: 73431
-
- Jun 15, 2009
-
-
Dan Gohman authored
llvm-svn: 73398
-
Dan Gohman authored
llvm-svn: 73362
-
Dan Gohman authored
SmallVector instead of std::vector. llvm-svn: 73357
-
Dan Gohman authored
llvm-svn: 73355
-
- Jun 13, 2009
-
-
Dan Gohman authored
induction variable when the addrec to be expanded does not require a wider type. This eliminates the need for IndVarSimplify to micro-manage SCEV expansions, because SCEVExpander now automatically expands them in the form that IndVarSimplify considers to be canonical. (LSR still micro-manages its SCEV expansions, because it's optimizing for the target, rather than for other optimizations.) Also, this uses the new getAnyExtendExpr, which has more clever expression simplification logic than the IndVarSimplify code it replaces, and this cleans up some ugly expansions in code such as the included masked-iv.ll testcase. llvm-svn: 73294
-
- Jun 12, 2009
-
-
Chris Lattner authored
non-default addrspaces. llvm-svn: 73253
-
Dan Gohman authored
it may round differently. This fixes PR4374. llvm-svn: 73243
-
- Jun 11, 2009
-
-
Chris Lattner authored
turned into unreachable. llvm-svn: 73195
-
- Jun 07, 2009
-
-
Nick Lewycky authored
Fixes PR4314. llvm-svn: 73007
-
- Jun 06, 2009
-
-
Eli Friedman authored
sometimes it can find simplifications that won't be found otherwise. llvm-svn: 73006
-
Jay Foad authored
Instructions. llvm-svn: 73002
-
Devang Patel authored
llvm-svn: 72965
-
- Jun 05, 2009
-
-
Dan Gohman authored
integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897
-
- Jun 04, 2009
-
-
Dan Gohman authored
instcombine doesn't know when it's safe. To partially compensate for this, introduce new code to do this transformation in dagcombine, which can use UnsafeFPMath. llvm-svn: 72872
-
- Jun 03, 2009
-
-
Dan Gohman authored
be simplified to a loop-invariant value. This fixes PR4315. llvm-svn: 72798
-
- Jun 02, 2009
-
-
Dan Gohman authored
addresses, involving Base values which do not have Pointer type. This fixes PR4297. llvm-svn: 72739
-