summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add radar number.Evan Cheng2009-11-141-0/+1
| | | | llvm-svn: 88739
* Fix PR5412: Fix an inverted check and another missing sub-register check.Evan Cheng2009-11-143-9/+265
| | | | llvm-svn: 88738
* Enable the tail call optimization when the caller returns undef.Dan Gohman2009-11-142-1/+12
| | | | llvm-svn: 88737
* Handle CXXDefaultArgExprs in EmitLValue. Fixes PR5484.Anders Carlsson2009-11-142-2/+17
| | | | llvm-svn: 88735
* When expanding t2STRDi8 r, r to two stores, add kill markers correctly.Evan Cheng2009-11-142-0/+27
| | | | llvm-svn: 88734
* If we attempt to add a constructor template specialization that looksDouglas Gregor2009-11-148-24/+104
| | | | | | | | | | | | like a copy constructor to the overload set, just ignore it. This ensures that we don't try to use such a constructor as a copy constructor *without* triggering diagnostics at the point of declaration. Note that we *do* diagnose such copy constructors when explicitly written by the user (e.g., as an explicit specialization). llvm-svn: 88733
* Add static version of Preprocessor::getSpelling.Daniel Dunbar2009-11-142-2/+21
| | | | llvm-svn: 88732
* Move CompilerInstance::set* methods out-of-line.Daniel Dunbar2009-11-142-13/+41
| | | | llvm-svn: 88731
* Move definition of GRExprEngine::ProcessEndPath() out-of-line.Ted Kremenek2009-11-142-4/+8
| | | | llvm-svn: 88729
* Fix bug in -split-phi-edges.Jakob Stoklund Olesen2009-11-141-3/+14
| | | | | | | | | | When splitting an edge after a machine basic block with fall-through, we forgot to insert a jump instruction. Fix this by calling updateTerminator() on the fall-through block when relevant. Also be more precise in PHIElimination::isLiveIn. llvm-svn: 88728
* Update MachineDominator informationJakob Stoklund Olesen2009-11-141-6/+9
| | | | llvm-svn: 88727
* Mangling support for typeinfo names.Mike Stump2009-11-142-0/+18
| | | | llvm-svn: 88726
* Added an API to the SlotIndexes pass to allow new instructions to be ↵Lang Hames2009-11-145-178/+98
| | | | | | | | inserted into the numbering. PreAllocSplitting is now using this API to insert code. llvm-svn: 88725
* Revert r88718, which does NOT solve the ↵Douglas Gregor2009-11-1310-76/+39
| | | | | | constructor-template-as-copy-constructor issue. Big thanks to John for finding this llvm-svn: 88724
* Handle descructor printing better.Mike Stump2009-11-131-6/+7
| | | | llvm-svn: 88723
* Template argument deduction of a non-type template parameter from aDouglas Gregor2009-11-132-2/+48
| | | | | | template argument. llvm-svn: 88722
* Fix PR5411. Bug in UpdateKills. A reg def partially define its super-registers.Evan Cheng2009-11-132-0/+46
| | | | llvm-svn: 88719
* A constructor template cannot be instantiated to a copyDouglas Gregor2009-11-1310-39/+76
| | | | | | constructor. Make sure that such declarations can never be formed. llvm-svn: 88718
* Also track address points for primaries bases.Mike Stump2009-11-131-4/+27
| | | | llvm-svn: 88717
* Remove extraneous commit.Eric Christopher2009-11-131-5/+0
| | | | llvm-svn: 88716
* Print out something, even if it's non-parseable later when we'veEric Christopher2009-11-131-2/+7
| | | | | | got ghost linkage. It's better than aborting. llvm-svn: 88715
* Code gen. For virtual destructor call on array objectsFariborz Jahanian2009-11-133-2/+21
| | | | | | (still part of pr5472). llvm-svn: 88712
* Move the FixedStackPseudoSourceValueVal enum value before InstructionValDan Gohman2009-11-131-1/+3
| | | | | | | | so that isa<Instructon> doesn't return true for FixedStackPseudoSourceValue values. This fixes a variety of problems, including crashes with -debug and -print-machineinstrs. Also, add a comment to warn about this. llvm-svn: 88711
* More VTT and constructor vtable testcases from recent work.Mike Stump2009-11-131-0/+43
| | | | llvm-svn: 88710
* Disable the JITTest.NoStubs test for Darwin PPC. It apparently doesn't implementBill Wendling2009-11-131-0/+4
| | | | | | emitFunctionStubAtAddr. llvm-svn: 88708
* Fix PHIElimination optimization that uses MBB->getBasicBlock.Jakob Stoklund Olesen2009-11-132-34/+23
| | | | | | | | | | | The BasicBlock associated with a MachineBasicBlock does not necessarily correspond to the code in the MBB. Don't insert a new IR BasicBlock when splitting critical edges. We are not supposed to modify the IR during codegen, and we should be able to do just fine with a NULL BB. llvm-svn: 88707
* Add MachineFunction::verify() to call the machine code verifier directly.Jakob Stoklund Olesen2009-11-132-0/+8
| | | | llvm-svn: 88706
* The instruction pointer %RIP is a reserved register on x86_64.Jakob Stoklund Olesen2009-11-131-0/+5
| | | | llvm-svn: 88705
* Fix polarity of a CFG check in machine verifier.Jakob Stoklund Olesen2009-11-131-5/+14
| | | | llvm-svn: 88704
* Use .data() instead of .c_str() when nul-termination is not needed.Dan Gohman2009-11-132-2/+2
| | | | llvm-svn: 88703
* Add more testcase for construction vtables and VTTs.Mike Stump2009-11-131-0/+28
| | | | llvm-svn: 88702
* Do not use value handle to wrap MDNode in DIDescriptor.Devang Patel2009-11-131-1/+3
| | | | llvm-svn: 88700
* Add some more VTT testcases.Mike Stump2009-11-131-0/+21
| | | | llvm-svn: 88699
* Move DebugInfo checks into EmitComments and remove them fromDavid Greene2009-11-1314-28/+35
| | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697
* Obvious fix for PR5474.Eli Friedman2009-11-132-1/+7
| | | | llvm-svn: 88696
* Fixes a code gen. bug for array delete operator callFariborz Jahanian2009-11-131-3/+6
| | | | | | | | | | int 32bit abi (pr5472 related). -This line, and those below, will be ignored-- M lib/CodeGen/CGCXXExpr.cpp llvm-svn: 88695
* When optimizing for size, don't tail-merge unless it's likely to be aDan Gohman2009-11-132-9/+125
| | | | | | | | | | code-size win, and not when it's only likely to be code-size neutral, such as when only a single instruction would be eliminated and a new branch would be required. This fixes rdar://7392894. llvm-svn: 88692
* Fix PR5410: LiveVariables lost subreg def:Evan Cheng2009-11-132-1/+27
| | | | | | | | | | | | | | D0<def,dead> = ... ... = S0<use, kill> S0<def> = ... ... D0<def> = The first D0 def is correctly marked dead, however, livevariables should have added an implicit def of S0 or we end up with a use without a def. llvm-svn: 88690
* Clear temporaries in more places.Anders Carlsson2009-11-131-0/+9
| | | | llvm-svn: 88687
* Remove test case's dependency on header file.Ted Kremenek2009-11-131-1/+3
| | | | llvm-svn: 88685
* Add two new test cases for the Malloc/Free checker. Both have to do withTed Kremenek2009-11-131-0/+18
| | | | | | storing malloc'ed memory to global storage. llvm-svn: 88684
* Add test case that shows a leak we don't catch.Ted Kremenek2009-11-131-0/+5
| | | | llvm-svn: 88683
* Allow target to specify regclass for which antideps will only be broken ↵David Goodwin2009-11-139-44/+123
| | | | | | along the critical path. llvm-svn: 88682
* Add a testcase for the recent VTT work.Mike Stump2009-11-131-0/+10
| | | | llvm-svn: 88681
* Code gen for arrady delete operator. Fixes pr5472.Fariborz Jahanian2009-11-134-10/+97
| | | | llvm-svn: 88680
* Fix bug Doug noticed.Anders Carlsson2009-11-132-0/+15
| | | | llvm-svn: 88679
* Add test for expr.delete p5, with a FIXME.Daniel Dunbar2009-11-131-0/+34
| | | | llvm-svn: 88678
* Do not store DIDescriptor directly into a container. Store MDNode directly, ↵Devang Patel2009-11-132-15/+14
| | | | | | through TrackingVH. llvm-svn: 88677
* This falls into the category of stupid pet tricks. I hate to do this,Mike Stump2009-11-132-5/+6
| | | | | | | | but this is necessary to continue work on virtual vtables. We don't want to penalize virtual table building testcases, just because complex virtual conversions don't yet work. llvm-svn: 88676
* add missing slashes to separator line; also testing commit accessKen Dyck2009-11-131-1/+1
| | | | llvm-svn: 88675
OpenPOWER on IntegriCloud