- Apr 02, 2008
-
-
David Greene authored
Iterators folloring a SmallVector erased element are invalidated so don't access cached iterators from after the erased element. Re-apply 49056 with SmallVector support. llvm-svn: 49106
-
Evan Cheng authored
2. Do not use # of basic blocks as part of the cost computation since it doesn't really figure into function size. 3. More aggressively inline function with vector code. llvm-svn: 49061
-
Tanya Lattner authored
llvm-svn: 49060
-
David Greene authored
Iterators folloring a SmallVector erased element are invalidated so don't access cached iterators from after the erased element. llvm-svn: 49056
-
- Apr 01, 2008
-
-
Dale Johannesen authored
llvm-svn: 49046
-
Dale Johannesen authored
not marked nounwind, or for all functions when -enable-eh is set, provided the target supports Dwarf EH. llvm-gcc generates nounwind in the right places; other FEs will need to do so also. Given such a FE, -enable-eh should no longer be needed. llvm-svn: 49006
-
- Mar 31, 2008
-
-
Nate Begeman authored
llvm-svn: 48971
-
- Mar 30, 2008
-
-
Chris Lattner authored
patch by David Chisnall. llvm-svn: 48963
-
- Mar 29, 2008
-
-
Chris Lattner authored
when something changes, instead of moving forward. This allows us to simplify memset lowering, inserting the memset at the end of the range of stuff we're touching instead of at the start. This, in turn, allows us to make use of the addressing instructions already used in the function instead of inserting our own. For example, we now codegen: %tmp41 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 0 ; <i8*> [#uses=2] call void @llvm.memset.i64( i8* %tmp41, i8 -1, i64 8, i32 1 ) instead of: %tmp20 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 7 ; <i8*> [#uses=1] %ptroffset = getelementptr i8* %tmp20, i64 -7 ; <i8*> [#uses=1] call void @llvm.memset.i64( i8* %ptroffset, i8 -1, i64 8, i32 1 ) llvm-svn: 48940
-
Chris Lattner authored
into a memset!) faster by avoiding an allocation of an std::list node. llvm-svn: 48939
-
Chris Lattner authored
llvm-svn: 48937
-
- Mar 28, 2008
-
-
Chris Lattner authored
memsets that initialize "structs of arrays" and other store sequences that are not sequential. This is still only enabled if you pass -form-memset-from-stores. The flag is not heavily tested and I haven't analyzed the perf regressions when -form-memset-from-stores is passed either, but this causes no make check regressions. llvm-svn: 48909
-
- Mar 27, 2008
-
-
Devang Patel authored
Increment iterator in advance. llvm-svn: 48890
-
- Mar 25, 2008
-
-
Evan Cheng authored
Handle a special case xor undef, undef -> 0. Technically this should be transformed to undef. But this is such a common idiom (misuse) we are going to handle it. llvm-svn: 48791
-
- Mar 24, 2008
-
-
Devang Patel authored
llvm-svn: 48738
-
Evan Cheng authored
Increasing the inline limit from (overly conservative) 200 to 300. Given each BB costs 20 and each instruction costs 5, 200 means a 4 BB function + 24 instructions (actually less because caller's size also contributes to it). Furthermore, double the limit when more than 10% of the callee instructions are vector instructions. Multimedia kernels tend to love inlining. llvm-svn: 48725
-
Evan Cheng authored
llvm-svn: 48720
-
Evan Cheng authored
Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if at least one of the (zext icmp) can be transformed to eliminate an icmp. llvm-svn: 48715
-
- Mar 23, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 48708
-
- Mar 22, 2008
-
-
Chris Lattner authored
This fires dozens of times across spec and multisource, but I don't know if it actually speeds stuff up. Hopefully the testers will show something nice :) llvm-svn: 48680
-
Chris Lattner authored
llvm-svn: 48679
-
Chris Lattner authored
merging optimization. Nothing to see here, hopefully more later :) llvm-svn: 48670
-
Dan Gohman authored
adding <map> to many files that actually do need it. llvm-svn: 48667
-
- Mar 21, 2008
-
-
Chris Lattner authored
llvm-svn: 48662
-
Chris Lattner authored
each basic block. llvm-svn: 48660
-
Chris Lattner authored
llvm-svn: 48658
-
Dan Gohman authored
from their aggregate operands by moving the getresult instructions. llvm-svn: 48657
-
Andrew Lenharth authored
llvm-svn: 48648
-
Duncan Sands authored
llvm-svn: 48639
-
Chris Lattner authored
simplify things like (X & 4) >> 1 == 2 --> (X & 4) == 4. since it is obvious that the shift doesn't remove any bits. llvm-svn: 48631
-
- Mar 20, 2008
-
-
Devang Patel authored
- Fix loop nest. - Use RetVals.size() - Check for null return value. llvm-svn: 48605
-
Gordon Henriksen authored
Patch by Erick Tryzelaar. llvm-svn: 48602
-
Zhou Sheng authored
llvm-svn: 48588
-
Evan Cheng authored
llvm-svn: 48573
-
Devang Patel authored
llvm-svn: 48567
-
- Mar 19, 2008
-
-
Evan Cheng authored
llvm-svn: 48556
-
- Mar 18, 2008
-
-
Devang Patel authored
llvm-svn: 48474
-
- Mar 16, 2008
-
-
Gordon Henriksen authored
Patch originally by Erick Tryzelaar, but has been modified somewhat. llvm-svn: 48419
-
- Mar 14, 2008
-
-
Bill Wendling authored
the type instead of the byte size. This was causing troublesome mis-compilations. True to form, this took 2 days to find and is a one-line fix. :-P llvm-svn: 48354
-
- Mar 13, 2008
-
-
Owen Anderson authored
pointer bitcast when performing return slot optimization. llvm-svn: 48343
-