- Apr 22, 2008
-
-
Chris Lattner authored
llvm-svn: 50080
-
Chris Lattner authored
getelementptr-seteq.ll into: define i1 @test(i64 %X, %S* %P) { %C = icmp eq i64 %X, -1 ; <i1> [#uses=1] ret i1 %C } instead of: define i1 @test(i64 %X, %S* %P) { %A.idx.mask = and i64 %X, 4611686018427387903 ; <i64> [#uses=1] %C = icmp eq i64 %A.idx.mask, 4611686018427387903 ; <i1> [#uses=1] ret i1 %C } And fixes the second half of PR2235. This speeds up the insertion sort case by 45%, from 1.12s to 0.77s. In practice, this will significantly speed up for loops structured like: for (double *P = Base + N; P != Base; --P) ... Which happens frequently for C++ iterators. llvm-svn: 50079
-
- Apr 21, 2008
-
-
Chris Lattner authored
llvm-svn: 50047
-
Owen Anderson authored
llvm-svn: 50035
-
Owen Anderson authored
and simplify code that was fallout from the separation of memcpyopt and gvn. llvm-svn: 50034
-
Chris Lattner authored
fixes a crash in opt on 433.milc. llvm-svn: 50023
-
Chris Lattner authored
llvm-svn: 50022
-
Chris Lattner authored
as a global helper function. At the same type, switch it from taking a vector of predecessors to an arbitrary sequential input. This allows us to switch LoopSimplify to use a SmallVector for various temporary vectors that it passed into SplitBlockPredecessors. llvm-svn: 50020
-
Chris Lattner authored
nodes, removing a hack. llvm-svn: 50019
-
Chris Lattner authored
instead of doing it after every call. llvm-svn: 50018
-
Chris Lattner authored
llvm-svn: 50016
-
Chris Lattner authored
llvm-svn: 50015
-
Chris Lattner authored
llvm-svn: 50014
-
Chris Lattner authored
llvm-svn: 50006
-
Chris Lattner authored
a call to Instruction::isUsedOutsideOfBlock. llvm-svn: 50005
-
- Apr 20, 2008
-
-
Chris Lattner authored
llvm-svn: 50003
-
Chris Lattner authored
Add a cost function. llvm-svn: 50002
-
Chris Lattner authored
such as those in PR2235. Right now the pass is not very effective. :) llvm-svn: 50000
-
Torok Edwin authored
llvm-svn: 49989
-
Chris Lattner authored
llvm-svn: 49977
-
- Apr 19, 2008
-
-
Chris Lattner authored
of elements. Patch by Matthijs Kooijman! llvm-svn: 49962
-
- Apr 17, 2008
-
-
Owen Anderson authored
llvm-svn: 49842
-
Scott Michel authored
llvm-svn: 49838
-
Scott Michel authored
wee problem in Xcode 2.[45]/gcc 4.0.1. llvm-svn: 49831
-
- Apr 15, 2008
-
-
Chuck Rose III authored
VisualStudio project files updated. #include <algorithm> added to make VisualStudio happy. Also had to undefine setjmp because of #include <csetjmp> turning setjmp into _setjmp in VisualStudio. llvm-svn: 49743
-
- Apr 14, 2008
-
-
Dan Gohman authored
llvm-svn: 49681
-
Dan Gohman authored
llvm-svn: 49671
-
Owen Anderson authored
llvm-svn: 49657
-
- Apr 13, 2008
-
-
Owen Anderson authored
which is significantly more efficient. llvm-svn: 49614
-
- Apr 11, 2008
-
-
Owen Anderson authored
of calls and less aggressive with non-readnone calls. llvm-svn: 49516
-
- Apr 10, 2008
-
-
Dan Gohman authored
in addition to integer expressions. Rewrite GetOrEnforceKnownAlignment as a ComputeMaskedBits problem, moving all of its special alignment knowledge to ComputeMaskedBits as low-zero-bits knowledge. Also, teach ComputeMaskedBits a few basic things about Mul and PHI instructions. This improves ComputeMaskedBits-based simplifications in a few cases, but more noticeably it significantly improves instcombine's alignment detection for loads, stores, and memory intrinsics. llvm-svn: 49492
-
Chris Lattner authored
This is not safe for all inputs. llvm-svn: 49458
-
- Apr 09, 2008
-
-
Chris Lattner authored
figuring out the suffix to use. implement pow(2,x) -> exp2(x). llvm-svn: 49437
-
Chris Lattner authored
long double and simplify the code. llvm-svn: 49435
-
Devang Patel authored
llvm-svn: 49430
-
Owen Anderson authored
GVN and into its own pass. llvm-svn: 49419
-
Owen Anderson authored
llvm-svn: 49418
-
Chris Lattner authored
add support for pow(x, 2.0) -> x*x. llvm-svn: 49411
-
- Apr 08, 2008
-
-
Devang Patel authored
llvm-svn: 49367
-
- Apr 07, 2008
-
-
Owen Anderson authored
in both time and memory savings for GVN. For example, one testcase went from 10.5s to 6s with this patch. llvm-svn: 49345
-