- Mar 19, 2010
-
-
Gabor Greif authored
back out r98957, it broke http://smooshlab.apple.com:8010/builders/clang-x86_64-darwin10-fnt/builds/703 in the nightly test suite llvm-svn: 98958
-
Gabor Greif authored
This time I did a self-hosted bootstrap on Linux x86-64, with no problems. Let's see how darwin 64-bit self-hosting goes. At the first sign of failure I'll back this out. Maybe the valgrind bots give me a hint of what may be wrong (it at all). llvm-svn: 98957
-
- Mar 16, 2010
-
-
Benjamin Kramer authored
str[r]chr returns its pointer argument so we cannot mark it as nocapture. Thanks to Duncan for spotting my mistake. llvm-svn: 98671
-
Benjamin Kramer authored
llvm-svn: 98663
-
- Mar 15, 2010
-
-
Devang Patel authored
llvm-svn: 98584
-
Devang Patel authored
llvm-svn: 98581
-
Devang Patel authored
In "empty" bb, the return instruction may not be first instruction, if dbg value intrinsics are present in this bb. Use terminator to find return instructions. llvm-svn: 98565
-
- Mar 14, 2010
-
-
Bill Wendling authored
llvm-svn: 98491
-
Bill Wendling authored
llvm-svn: 98490
-
- Mar 12, 2010
-
-
Benjamin Kramer authored
llvm-svn: 98376
-
Benjamin Kramer authored
to unify the almost identical code in CodeGenPrepare and InstCombineCalls. llvm-svn: 98338
-
Nate Begeman authored
llvm-svn: 98297
-
Nate Begeman authored
llvm-svn: 98296
-
- Mar 11, 2010
-
-
Benjamin Kramer authored
stpcpy is so similar to strcpy, it doesn't deserve a complete copy of the __strcpy_chk -> strcpy code. llvm-svn: 98284
-
Eric Christopher authored
llvm-svn: 98274
-
Eric Christopher authored
llvm-svn: 98260
-
Eric Christopher authored
that in InstCombineCalls. More call lowering needed. llvm-svn: 98228
-
Eric Christopher authored
llvm-svn: 98219
-
- Mar 10, 2010
-
-
Dan Gohman authored
compute a set of reachable blocks for itself each time it is called, which is fairly frequently. llvm-svn: 98179
-
Dan Gohman authored
llvm-svn: 98122
-
Jakob Stoklund Olesen authored
The Caller cost info would be reset everytime a callee was inlined. If the caller has lots of calls and there is some mutual recursion going on, the caller cost info could be calculated many times. This patch reduces inliner runtime from 240s to 0.5s for a function with 20000 small function calls. This is a more conservative version of r98089 that doesn't break the clang test CodeGenCXX/temp-order.cpp. That test relies on rather extreme inlining for constant folding. llvm-svn: 98099
-
- Mar 09, 2010
-
-
Jakob Stoklund Olesen authored
llvm-svn: 98094
-
Jakob Stoklund Olesen authored
The Caller cost info would be reset everytime a callee was inlined. If the caller has lots of calls and there is some mutual recursion going on, the caller cost info could be calculated many times. This patch reduces inliner runtime from 240s to 0.5s for a function with 20000 small function calls. llvm-svn: 98089
-
Jakob Stoklund Olesen authored
llvm-svn: 98024
-
- Mar 08, 2010
-
-
Evan Cheng authored
llvm-svn: 98000
-
Devang Patel authored
This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
-
Devang Patel authored
llvm-svn: 97963
-
Devang Patel authored
This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947
-
- Mar 06, 2010
-
-
Eric Christopher authored
before we try to optimize. llvm-svn: 97876
-
Eric Christopher authored
out the remainder of the calls that we should lower in some way and move the tests to the new correct directory. Fix up tests that are now optimized more than they were before by -instcombine. llvm-svn: 97875
-
Eric Christopher authored
Log: Transform @llvm.objectsize to integer if the argument is a result of malloc of known size. Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp llvm/trunk/test/Transforms/InstCombine/objsize.ll It appears to be causing swb and nightly test failures. llvm-svn: 97866
-
Evan Cheng authored
llvm-svn: 97860
-
- Mar 05, 2010
-
-
Ted Kremenek authored
llvm-svn: 97846
-
Eric Christopher authored
can be used in more places. Add an argument for the TargetData that most of them need. Update for the getInt8PtrTy() change. Should be no functionality change. llvm-svn: 97844
-
Evan Cheng authored
Safely turn memset_chk etc. to non-chk variant if the known object size is >= memset / memcpy / memmove size. llvm-svn: 97828
-
Evan Cheng authored
llvm-svn: 97827
-
Chris Lattner authored
from different addr spaces. llvm-svn: 97813
-
Chris Lattner authored
parts of the cmp|cmp and cmp&cmp folding logic wasn't prepared for vectors (unrelated to the bug but noticed while in the code) and the code was *definitely* not safe to use by the (cast icmp)|(cast icmp) handling logic that I added in r95855. Fix all this up by changing the various routines to more consistently use IRBuilder and not pass in the I which had the wrong type. llvm-svn: 97801
-
Chris Lattner authored
compares, noticed by inspection. llvm-svn: 97795
-
Chris Lattner authored
in a very specific use pattern embodied in the carefully reduced testcase. llvm-svn: 97794
-