- Mar 02, 2010
-
-
Fariborz Jahanian authored
Satisfies radar 7703202. llvm-svn: 97532
-
Dan Gohman authored
respectively. llvm-svn: 97531
-
Dan Gohman authored
better reflect its meaning, now that tail call optimizations are done by default in some cases. llvm-svn: 97530
-
Chris Lattner authored
llvm-svn: 97529
-
Douglas Gregor authored
llvm-svn: 97528
-
Chris Lattner authored
llvm-svn: 97527
-
Bob Wilson authored
a loop and is itself the only dependency). llvm-svn: 97526
-
Chris Lattner authored
new helper function. llvm-svn: 97525
-
Douglas Gregor authored
*not* entering the context of the nested-name-specifier. This was causing us to look into an uninstantiated template that we shouldn't look into. Fixes PR6376. llvm-svn: 97524
-
John McCall authored
category. Use this in a few places to eliminate unnecessary TST cases and do some future-proofing. Provide terrible manglings for typeof. Mangle decltype with some hope of accuracy. Our manglings for some of the cases covered in the testcase are different from gcc's, which I've raised as an issue with the ABI list. llvm-svn: 97523
-
Chris Lattner authored
old isel generated code. llvm-svn: 97522
-
Bob Wilson authored
predecessors before returning. Otherwise, if multiple predecessor edges need splitting, we only get one of them per iteration. This makes a small but measurable compile time improvement with -enable-full-load-pre. llvm-svn: 97521
-
Fariborz Jahanian authored
Radar 7696893. llvm-svn: 97520
-
Douglas Gregor authored
llvm-svn: 97519
-
Douglas Gregor authored
which has the label map, switch statement stack, etc. Previously, we had a single set of maps in Sema (for the function) along with a stack of block scopes. However, this lead to funky behavior with nested functions, e.g., in the member functions of local classes. The explicit-stack approach is far cleaner, and we retain a 1-element cache so that we're not malloc/free'ing every time we enter a function. Fixes PR6382. Also, tweaked the unused-variable warning suppression logic to look at errors within a given Scope rather than within a given function. The prior code wasn't looking at the right number-of-errors count when dealing with blocks, since the block's count would be deallocated before we got to ActOnPopScope. This approach works with nested blocks/functions, and gives tighter error recovery. llvm-svn: 97518
-
Chris Lattner authored
llvm-svn: 97517
-
- Mar 01, 2010
-
-
Chris Lattner authored
now that it is gone. llvm-svn: 97516
-
Chris Lattner authored
llvm-svn: 97515
-
Chris Lattner authored
EmitMergeInputChainsMatcher node up into EmitResultCode. This doesn't have much of an effect on the generated code, the X86 table is exactly the same size. llvm-svn: 97514
-
Chris Lattner authored
(set GPR, somecomplexpattern) if somecomplexpattern doesn't declare what it can match. llvm-svn: 97513
-
Evan Cheng authored
llvm-svn: 97512
-
Chris Lattner authored
(the most general) the others are dead. llvm-svn: 97511
-
Chris Lattner authored
llvm-svn: 97510
-
Chris Lattner authored
ordered correctly. Previously it would get in trouble when two patterns were too similar and give them nondet ordering. We force this by using the record ID order as a fallback. The testsuite diff is due to alpha patterns being ordered slightly differently, the change is a semantic noop afaict: < lda $0,-100($16) --- > subq $16,100,$0 llvm-svn: 97509
-
Chris Lattner authored
llvm-svn: 97508
-
Evan Cheng authored
Remove the optimize for code size limitation on r67917. Optimize 64-bit imul by constants into leas + shl regardless if optimizing for code size. The size saving from using imulq isn't worth it. Also, the lea and shl instructions may expose further optimization. llvm-svn: 97507
-
Chris Lattner authored
llvm-svn: 97504
-
Dan Gohman authored
llvm-svn: 97502
-
Chris Lattner authored
problems. rdar://7697850. llvm-svn: 97500
-
Chandler Carruth authored
re-declare them. This fixes PR6317. Also add the beginnings of an interesting test case for p1 of [class.friend] which also covers PR6317. llvm-svn: 97499
-
Chris Lattner authored
llvm-svn: 97498
-
Chris Lattner authored
a fixme and PR6451. Only perform jump checking if the containing function has no errors, and add the infrastructure needed to do this. On the testcase in the PR, we produce: t.cc:6:3: error: illegal goto into protected scope goto later; ^ t.cc:7:5: note: jump bypasses variable initialization X x; ^ llvm-svn: 97497
-
Jakob Stoklund Olesen authored
Don't accidentally produce unspillable intervals for deeply nested loops. llvm-svn: 97496
-
Chris Lattner authored
with "address taken of label in protected scope, jump to it would have unknown effect on scope" llvm-svn: 97495
-
Douglas Gregor authored
llvm-svn: 97494
-
Devang Patel authored
llvm-svn: 97493
-
Chris Lattner authored
llvm-svn: 97492
-
Chris Lattner authored
llvm-svn: 97491
-
Chris Lattner authored
llvm-svn: 97490
-
Devang Patel authored
Delete dead testcase. llvm-svn: 97489
-