summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* PerformTailCallOpt was renamed to GuaranteedTailCallOpt toDan Gohman2010-03-021-1/+1
| | | | | | | better reflect its meaning, now that tail call optimizations are done by default in some cases. llvm-svn: 97530
* remove dead code.Chris Lattner2010-03-021-31/+0
| | | | llvm-svn: 97529
* Add commentDouglas Gregor2010-03-021-1/+2
| | | | llvm-svn: 97528
* add some missing \n'sChris Lattner2010-03-021-11/+19
| | | | llvm-svn: 97527
* Don't attempt load PRE when there is no real redundancy (i.e., the load is inBob Wilson2010-03-021-4/+6
| | | | | | a loop and is itself the only dependency). llvm-svn: 97526
* refactor some code out of OPC_EmitMergeInputChains into aChris Lattner2010-03-021-21/+37
| | | | | | new helper function. llvm-svn: 97525
* When we're parsing template names as part of base-specifiers, we areDouglas Gregor2010-03-012-1/+20
| | | | | | | | *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
* Split out types that are non-canonical unless dependent as their ownJohn McCall2010-03-016-13/+115
| | | | | | | | | | | 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
* remove some functions that were only used by theChris Lattner2010-03-011-23/+1
| | | | | | old isel generated code. llvm-svn: 97522
* When GVN needs to split critical edges for load PRE, check all of theBob Wilson2010-03-011-1/+4
| | | | | | | | 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
* More rewriter of nested blocks fun stuff.Fariborz Jahanian2010-03-012-19/+75
| | | | | | Radar 7696893. llvm-svn: 97520
* Unbreak the buildDouglas Gregor2010-03-012-1/+5
| | | | llvm-svn: 97519
* Keep an explicit stack of function and block scopes, each element ofDouglas Gregor2010-03-0112-137/+231
| | | | | | | | | | | | | | | | | | | | 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
* fixme resolved.Chris Lattner2010-03-011-3/+0
| | | | llvm-svn: 97517
* remove a little hack I did for the old isel, not neededChris Lattner2010-03-012-20/+2
| | | | | | now that it is gone. llvm-svn: 97516
* resolve some fixmesChris Lattner2010-03-011-10/+3
| | | | llvm-svn: 97515
* resolve a fixme and simplify code by moving insertion of theChris Lattner2010-03-011-18/+8
| | | | | | | | 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
* resolve a fixme by having the .td file parser reject thigns likeChris Lattner2010-03-014-12/+14
| | | | | | | | (set GPR, somecomplexpattern) if somecomplexpattern doesn't declare what it can match. llvm-svn: 97513
* MemoryDepAnalysis is not used if redundant load processing is disabled.Evan Cheng2010-03-011-1/+1
| | | | llvm-svn: 97512
* remove all but one version of SelectionDAG::MorphNodeToChris Lattner2010-03-012-101/+1
| | | | | | (the most general) the others are dead. llvm-svn: 97511
* remove dead code, simplify.Chris Lattner2010-03-011-10/+4
| | | | llvm-svn: 97510
* Fix PR2590 by making PatternSortingPredicate actually be Chris Lattner2010-03-015-10/+23
| | | | | | | | | | | | | | | 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
* tolerate factoring the *last* node for CellSPU.Chris Lattner2010-03-011-0/+5
| | | | llvm-svn: 97508
* Remove the optimize for code size limitation on r67917. Optimize 64-bit imul ↵Evan Cheng2010-03-011-4/+0
| | | | | | 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
* optimize tblgen compile time by eliminating the old isel.Chris Lattner2010-03-012-1770/+3
| | | | llvm-svn: 97504
* Make llc opt into the addPassesToEmitFile verify pass.Dan Gohman2010-03-011-2/+12
| | | | llvm-svn: 97502
* remove a terrible hack that disabled assertions from this file because of ↵Chris Lattner2010-03-011-9/+0
| | | | | | | | build time problems. rdar://7697850. llvm-svn: 97500
* Fix the lookup of names used in a friend declaration to not attempt toChandler Carruth2010-03-012-2/+65
| | | | | | | 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
* fix PR5933: don't warn about unused variables if a function has other errors ↵Chris Lattner2010-03-012-1/+8
| | | | | | in it. llvm-svn: 97498
* Implement jump checking for initialized c++ variables, implementingChris Lattner2010-03-018-13/+56
| | | | | | | | | | | | | | | | | | 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
* Use methods to determine if a LiveInterval is spillable.Jakob Stoklund Olesen2010-03-013-21/+38
| | | | | | Don't accidentally produce unspillable intervals for deeply nested loops. llvm-svn: 97496
* avoid issues with the new scope protector. Previously we'd errorChris Lattner2010-03-011-2/+4
| | | | | | with "address taken of label in protected scope, jump to it would have unknown effect on scope" llvm-svn: 97495
* Start detangling the BlockSemaInfo/Sema mess. No functionality change.Douglas Gregor2010-03-012-22/+37
| | | | llvm-svn: 97494
* Remove tests that checks @llvm.dbg.stoppoint handling.Devang Patel2010-03-013-4098/+0
| | | | llvm-svn: 97493
* stop using anders-aaChris Lattner2010-03-012-59/+1
| | | | llvm-svn: 97492
* stop using anders-aaChris Lattner2010-03-011-1/+1
| | | | llvm-svn: 97491
* remove andersen's tests.Chris Lattner2010-03-0110-137/+0
| | | | llvm-svn: 97490
* @llvm.dbg.stoppoint intrinsic is not used anymore.Devang Patel2010-03-011-98/+0
| | | | | | Delete dead testcase. llvm-svn: 97489
* Update CMake build.Ted Kremenek2010-03-011-1/+0
| | | | llvm-svn: 97488
* Update to use new debug info encoding scheme. As a bonus, now the test passes!Devang Patel2010-03-011-55/+64
| | | | llvm-svn: 97487
* don't emit the old sdnodexform stuff for the new isel.Chris Lattner2010-03-011-2/+2
| | | | llvm-svn: 97486
* stop using generated sdnodexforms.Chris Lattner2010-03-011-1/+5
| | | | llvm-svn: 97485
* note that andersaa was removed in 2.7Chris Lattner2010-03-011-0/+2
| | | | llvm-svn: 97484
* remove anders-aa from mainline, it isn't maintained and isChris Lattner2010-03-016-2974/+2
| | | | | | tantalyzing enough that people keep trying to use it. llvm-svn: 97483
* Allow a '0' precision in format strings (as the man page says it is okay).Ted Kremenek2010-03-012-10/+21
| | | | | | Fixes <rdar://problem/7700339>. llvm-svn: 97482
* Added STRHT for disassembly only and fixed a bug in AI3sthpo class where the WJohnny Chen2010-03-012-2/+10
| | | | | | bit should be set to 0 instead of 1. llvm-svn: 97481
* Remove this test because it checks wheter optimizer handled ↵Devang Patel2010-03-011-54/+0
| | | | | | @llvm.dbg.global_variable appropriately or not. LLVM does not use this scheme to encode debug info for global variables any more. llvm-svn: 97480
* The latest draft uses 'dt' to mangle member expressions, and now so do we.John McCall2010-03-012-10/+4
| | | | llvm-svn: 97479
* When looking for a redeclaration of a static variable, only look for ↵Douglas Gregor2010-03-012-1/+24
| | | | | | redeclarations. Fixes PR6449 llvm-svn: 97478
* Remove test to check bugfix in handing debug info for global variables using ↵Devang Patel2010-03-011-264/+0
| | | | | | intrinsics. Now, debug info for global variable is encoded using metadata. The old code path is now history and there is no need to have a test to check a bug fix in old code path. llvm-svn: 97477
OpenPOWER on IntegriCloud