- Dec 29, 2007
-
-
Christopher Lamb authored
llvm-svn: 45394
-
Chris Lattner authored
llvm-svn: 45393
-
Chris Lattner authored
have potential side-effects. llvm-svn: 45392
-
Chris Lattner authored
llvm-svn: 45391
-
Christopher Lamb authored
Fix an error in the base/idx accessors for ArraySubscriptExpr's that crops up with vector element access. llvm-svn: 45390
-
- Dec 28, 2007
-
-
Devang Patel authored
Test -simplifycfg only. llvm-svn: 45389
-
Chris Lattner authored
llvm-svn: 45388
-
Chris Lattner authored
llvm-svn: 45387
-
Owen Anderson authored
llvm-svn: 45386
-
Owen Anderson authored
Repair a transform that Chris noticed a bug in. Thanks to Nicholas for pointing out my stupid mistakes when writing this patch. :-) llvm-svn: 45384
-
Chris Lattner authored
define i32 @main() { entry: %z = alloca i32 ; <i32*> [#uses=2] store i32 0, i32* %z %tmp = load i32* %z ; <i32> [#uses=1] %sub = sub i32 %tmp, 1 ; <i32> [#uses=1] %cmp = icmp ult i32 %sub, 0 ; <i1> [#uses=1] %retval = select i1 %cmp, i32 1, i32 0 ; <i32> [#uses=1] ret i32 %retval } into ret 1, instead of ret 0. Christopher, please investigate. llvm-svn: 45383
-
Chris Lattner authored
llvm-svn: 45382
-
Chris Lattner authored
llvm-svn: 45381
-
Chris Lattner authored
and OwningPtr instead of constructing only after all of sema is done. This has a couple of effects: 1. it fixes memory leaks from all the error cases in sema 2. it simplifies the code significantly. The cost of this is that the error case now new's and delete's an expr where it did not before, but we don't care about the perf of the error case. llvm-svn: 45380
-
Chris Lattner authored
llvm-svn: 45379
-
Chris Lattner authored
llvm-svn: 45378
-
Chris Lattner authored
llvm-svn: 45377
-
Chris Lattner authored
"Here's a tiny patch that lets the clang Xcode project build in any location, so llvm doesn't have to be checked out in your home folder." llvm-svn: 45376
-
Anton Korobeynikov authored
behaviour of LinkGlobals() function. llvm-svn: 45375
-
- Dec 27, 2007
-
-
Chris Lattner authored
llvm-svn: 45374
-
Chris Lattner authored
llvm-svn: 45373
-
Chris Lattner authored
llvm-svn: 45372
-
Chris Lattner authored
llvm-svn: 45371
-
Chris Lattner authored
llvm-svn: 45370
-
Gordon Henriksen authored
llvm-svn: 45369
-
Chris Lattner authored
The later fails if the token is not an identifier. - Replace tabs with spaces. - Various other cleanups. Patch by Nico Weber! llvm-svn: 45368
-
Gordon Henriksen authored
llvm-svn: 45367
-
- Dec 26, 2007
-
-
Gordon Henriksen authored
llvm-svn: 45362
-
Anders Carlsson authored
llvm-svn: 45361
-
Chris Lattner authored
llvm-svn: 45360
-
Seo Sanghyeon authored
llvm-svn: 45358
-
Gordon Henriksen authored
collector algorithms. llvm-svn: 45357
-
- Dec 25, 2007
-
-
Gordon Henriksen authored
when copying functions. llvm-svn: 45356
-
Chris Lattner authored
llvm-svn: 45355
-
Chris Lattner authored
it is only a partial fix. This change is noise for most programs, but speeds up Shootout-C++/matrix by 20%, Ptrdist/ks by 24%, smg2000 by 8%, hexxagon by 9%, bzip2 by 9% (not sure I trust this), ackerman by 13%, etc. OTOH, it slows down Shootout/fib2 by 40% (I'll update PR1877 with this info). llvm-svn: 45354
-
Seo Sanghyeon authored
llvm-svn: 45353
-
Gordon Henriksen authored
llvm-svn: 45352
-
Gordon Henriksen authored
define void @f() { ... call i32 @g() ... } define void @g() { ... } The hazards are: - @f and @g have GC, but they differ GC. Inlining is invalid. This may never occur. - @f has no GC, but @g does. g's GC must be propagated to @f. The other scenarios are safe: - @f and @g have the same GC. - @f and @g have no GC. - @g has no GC. This patch adds inliner checks for the former two scenarios. llvm-svn: 45351
-
Gordon Henriksen authored
function with GC. This will catch the error when the inliner inlines a function with GC into a caller with no GC. llvm-svn: 45350
-
Gordon Henriksen authored
LangRef. llvm-svn: 45349
-