- Jul 09, 2011
-
-
Chris Lattner authored
llvm-svn: 134820
-
Lang Hames authored
llvm-svn: 134778
-
- Jul 08, 2011
-
-
Lang Hames authored
Make GVN look through extractvalues for recognised intrinsics. GVN can then CSE ops that match values produced by the intrinsics. llvm-svn: 134677
-
- Jul 06, 2011
-
-
Andrew Trick authored
llvm-svn: 134530
-
Tobias Grosser authored
The promotion code lost any alignment information, when hoisting loads and stores out of the loop. This lead to incorrect aligned memory accesses. We now use the largest alignment we can prove to be correct. llvm-svn: 134520
-
Jakub Staszak authored
llvm-svn: 134516
-
- Jul 04, 2011
-
-
Benjamin Kramer authored
PR10267: Don't combine an equality compare with an AND into an inequality compare when the AND has more than one use. This can pessimize code, inequalities are generally more expensive. llvm-svn: 134379
-
- Jul 02, 2011
-
-
Andrew Trick authored
llvm-svn: 134306
-
- Jul 01, 2011
-
-
Dan Gohman authored
llvm-svn: 134223
-
Dan Gohman authored
llvm-svn: 134221
-
- Jun 30, 2011
-
-
Rafael Espindola authored
nodes. Original message: Let simplify cfg simplify bb with only debug and lifetime intrinsics. llvm-svn: 134182
-
Andrew Trick authored
llvm-svn: 134177
-
Andrew Trick authored
llvm-svn: 134124
-
Andrew Trick authored
llvm-svn: 134112
-
- Jun 29, 2011
-
-
Chad Rosier authored
lifetime intrinsics" due to buildbot failures. llvm-svn: 134071
-
Rafael Espindola authored
llvm-svn: 134057
-
Andrew Trick authored
mean they can be removed. llvm-svn: 134054
-
- Jun 28, 2011
-
-
Andrew Trick authored
llvm-svn: 133998
-
- Jun 27, 2011
-
-
Nick Lewycky authored
alloca that only holds a copy of a global and we're going to replace the users of the alloca with that global, just nuke the lifetime intrinsics. Part of PR10121. llvm-svn: 133905
-
- Jun 23, 2011
-
-
Eli Friedman authored
llvm-svn: 133756
-
- Jun 21, 2011
-
-
Jay Foad authored
build) caused by r133435. llvm-svn: 133509
-
Andrew Trick authored
ops. This is a rewrite of the IV simplification algorithm used by -disable-iv-rewrite. To avoid perturbing the default mode, I temporarily split the driver and created SimplifyIVUsersNoRewrite. The idea is to avoid doing opcode/pattern matching inside IndVarSimplify. SCEV already does it. We want to optimize with the full generality of SCEV, but optimize def-use chains top down on-demand rather than rewriting the entire expression bottom-up. This was easy to do for operations that SCEV can prove are identity function. So we're now eliminating bitmasks and zero extends this way. A result of this rewrite is that indvars -disable-iv-rewrite no longer requires IVUsers. llvm-svn: 133502
-
- Jun 20, 2011
-
-
Jay Foad authored
point during the development of the phi operand changes. llvm-svn: 133436
-
- Jun 19, 2011
-
-
Chris Lattner authored
top level type without a specified number. This syntax isn't documented and blocks forward progress. llvm-svn: 133371
-
- Jun 18, 2011
-
-
Hans Wennborg authored
In cases such as the attached test, where the case value for a switch destination is used in a phi node that follows the destination, it might be better to replace that value with the condition value of the switch, so that more blocks can be folded away with TryToSimplifyUncondBranchFromEmptyBlock because there are less conflicts in the phi node. llvm-svn: 133344
-
Nick Lewycky authored
llvm-svn: 133339
-
Cameron Zwarich authored
type's bitwidth matches the (allocated) size of the alloca. This severely pessimizes vector scalar replacement when the only vector type being used is something like <3 x float> on x86 or ARM whose allocated size matches a <4 x float>. I hope to fix some of the flawed assumptions about allocated size throughout scalar replacement and reenable this in most cases. llvm-svn: 133338
-
Chris Lattner authored
for pre-2.9 bitcode files. We keep x86 unaligned loads, movnt, crc32, and the target indep prefetch change. As usual, updating the testsuite is a PITA. llvm-svn: 133337
-
Cameron Zwarich authored
alloca. Fixes part of <rdar://problem/9580800>. llvm-svn: 133336
-
- Jun 17, 2011
-
-
Chris Lattner authored
to functions and call/invokes, not to types. llvm-svn: 133266
-
Chris Lattner authored
needed since llvm-gcc 3.4 days. llvm-svn: 133248
-
Chris Lattner authored
remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue. llvm-svn: 133247
-
Chris Lattner authored
was replaced with return of a "first class aggregate". llvm-svn: 133245
-
Chris Lattner authored
llvm-svn: 133244
-
Chris Lattner authored
syntax and has been long obsolete. As usual, updating the tests is the nasty part of this. llvm-svn: 133242
-
Chris Lattner authored
are either unreduced or only test old syntax. llvm-svn: 133228
-
- Jun 16, 2011
-
-
Dan Gohman authored
than trying to insert them immediately after the invoke. llvm-svn: 133188
-
John McCall authored
llvm-svn: 133108
-
- Jun 13, 2011
-
-
Stuart Hastings authored
might overflow. Re-typing the alloca to a larger type (e.g. double) hoists a shift into the alloca, potentially exposing overflow in the expression. rdar://problem/9265821 llvm-svn: 132926
-
Benjamin Kramer authored
The backend already knew this trick. llvm-svn: 132915
-