summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugs section.llvmorg-2.2.0release/2.2.xTanya Lattner2008-02-121-46/+47
| | | | llvm-svn: 46992
* Merge release notes from mainline.Tanya Lattner2008-02-121-179/+249
| | | | llvm-svn: 46986
* release tag.Tanya Lattner2008-02-121-0/+1
| | | | llvm-svn: 46982
* Merge from mainline.Tanya Lattner2008-02-041-2/+0
| | | | | | Don't dump the function! llvm-svn: 46699
* Merge from mainline.Tanya Lattner2008-02-043-9/+9
| | | | | | | Provide correct DWARF register numbering for debug information emission on x86-32/Darwin. This should fix bunch of issues. llvm-svn: 46698
* Merge from mainline.Tanya Lattner2008-01-231-0/+3
| | | | | | Trivial patch to fix two warnings llvm-svn: 46272
* Merge from mainline.Tanya Lattner2008-01-221-1/+1
| | | | | | | One too many )'s breaks 'make clean' with certain versions of make. This fixes PR1927 llvm-svn: 46248
* Merge from mainline.Tanya Lattner2008-01-211-1/+1
| | | | | | | | | | | | Fix the failures in the PPC JIT by marking relocation entries for external symbols (e.g. 'fmod') as needing a stub. This regression was introduced by Evan's jit patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071231/056749.html With this fixed, the two ExecutionEngine failures are passing on ppc, and the ppc jit works on freebench and olden. llvm-svn: 46225
* Merge from mainline.Tanya Lattner2008-01-211-8/+8
| | | | | | | | | | Need to handle any 'nest' parameter before integer parameters, since otherwise it won't be passed in the right register. With this change trampolines work on x86-64 (thanks to Luke Guest for providing access to an x86-64 box). llvm-svn: 46215
* Merge from mainline.Tanya Lattner2008-01-211-3/+12
| | | | | | Honour ByVal parameter attribute for name decoration. llvm-svn: 46214
* Merge from mainline.Tanya Lattner2008-01-211-1/+3
| | | | | | | Make sure the caller doesn't use freed memory. Fixes PR1935. llvm-svn: 46213
* UnXFAIL this test.Tanya Lattner2008-01-181-3/+0
| | | | llvm-svn: 46169
* Merge from mainline.Tanya Lattner2008-01-181-3/+2
| | | | | | | | | Revert the part of 45849 that treated weak globals as weak globals rather than commons. While not wrong, this change tickled a latent bug in Darwin's strip, so revert it for now as a workaround. llvm-svn: 46168
* Merge from mainline.Tanya Lattner2008-01-182-4/+4
| | | | | | | | | Revert the part of 45848 that treated weak globals as weak globals rather than commons. While not wrong, this change tickled a latent bug in Darwin's strip, so revert it for now as a workaround. llvm-svn: 46167
* Update for current year.Tanya Lattner2008-01-173-6/+6
| | | | llvm-svn: 46121
* Set version to 2.2Tanya Lattner2008-01-172-1016/+3283
| | | | | | Regenerated configure with autoconf 2.60. Do not use 2.61 until AutoGen.sh is updated! llvm-svn: 46118
* Creating 2.2 release branchTanya Lattner2008-01-17550-79343/+0
| | | | llvm-svn: 46114
* DAE bug fix. Don't lose parameter attributes on vararg arguments.Evan Cheng2008-01-171-5/+9
| | | | llvm-svn: 46113
* Enable CBEDevang Patel2008-01-171-1/+1
| | | | llvm-svn: 46112
* When a live virtual register is being clobbered by an implicit def, it is ↵Evan Cheng2008-01-172-2/+55
| | | | | | | | | | | spilled and the spill is its kill. However, if the local allocator has determined the register has not been modified (possible when its value was reloaded), it would not issue a restore. In that case, mark the last use of the virtual register as kill. llvm-svn: 46111
* Computed length of a __func__ identifier used in an objective-c method ↵Fariborz Jahanian2008-01-173-1/+11
| | | | | | | | correctly, when creating its type. llvm-svn: 46109
* Fix arg promotion to propagate the correct attrs on the calls toChris Lattner2008-01-172-14/+50
| | | | | | | promoted functions. This is important for varargs calls in particular. Thanks to duncan for providing a great testcase. llvm-svn: 46108
* Ignore --paramSeo Sanghyeon2008-01-171-0/+2
| | | | llvm-svn: 46107
* Added some experimental optimizations to remove dead values from theTed Kremenek2008-01-171-14/+51
| | | | | | state. llvm-svn: 46106
* Declarator::clear(): Null out variable after it's been deleted.Steve Naroff2008-01-172-0/+4
| | | | | | | | This avoids a double free (which is good:-) Bug submitted by Eli. llvm-svn: 46105
* Replace std::vector<bool> with BitVector.Evan Cheng2008-01-171-4/+8
| | | | llvm-svn: 46104
* Simplify comment.Steve Naroff2008-01-161-2/+1
| | | | llvm-svn: 46103
* Type::isArithmeticType(): disallow incomplete enum decls.Steve Naroff2008-01-163-2/+12
| | | | | | Bug submitted by Eli. llvm-svn: 46102
* Changed sorting criteria for DSPtr to put sub-expressions first in the valueTed Kremenek2008-01-161-1/+1
| | | | | | | map. This will allow us to quickly prune them from maps without searching the entire map. llvm-svn: 46101
* Changed sorting criteria for DSPtr to sort Decl* before Expr*, andTed Kremenek2008-01-161-2/+5
| | | | | | to sort sub-expressions before Block-level expressions. llvm-svn: 46100
* Fixes a nasty dag combiner bug that causes a bunch of tests to fail at -O0.Evan Cheng2008-01-162-6/+74
| | | | | | | | | | | | | | | | | | | | It's not safe to use the two value CombineTo variant to combine away a dead load. e.g. v1, chain2 = load chain1, loc v2, chain3 = load chain2, loc v3 = add v2, c Now we replace use of v1 with undef, use of chain2 with chain1. ReplaceAllUsesWith() will iterate through uses of the first load and update operands: v1, chain2 = load chain1, loc v2, chain3 = load chain1, loc v3 = add v2, c Now the second load is the same as the first load, SelectionDAG cse will ensure the use of second load is replaced with the first load. v1, chain2 = load chain1, loc v3 = add v1, c Then v1 is replaced with undef and bad things happen. llvm-svn: 46099
* Trampoline support for x86-64. This looks likeDuncan Sands2008-01-162-7/+70
| | | | | | | | | it should work, but I have no machine to test it on. Committed because it will at least cause no harm, and maybe someone can test it for me! llvm-svn: 46098
* IntegerLiterals are no longer evaluated to create separate nodes; theirTed Kremenek2008-01-161-15/+20
| | | | | | values are determined when evaluating the parent expression. llvm-svn: 46096
* Fixed bug where we performed addition instead of subtraction duringTed Kremenek2008-01-161-1/+1
| | | | | | constant propagation. llvm-svn: 46095
* Fixed iterator bug in ExplodedNodeImpl::NodeGroup::end(); we would improperlyTed Kremenek2008-01-162-2/+2
| | | | | | | | | handle the case where the number of nodes was 0. Fixed bug in GREngineImpl where we did not proceed to the next statement when processing a PostStmt location. llvm-svn: 46093
* Added initial graph visualization support for the GRConstants analysis.Ted Kremenek2008-01-161-11/+85
| | | | llvm-svn: 46092
* Fixed invalid typedefs in the root and eop iterators for ExplodedGraph.Ted Kremenek2008-01-161-8/+8
| | | | llvm-svn: 46091
* Handle attribute(used) global variables that are i8.Chris Lattner2008-01-161-14/+13
| | | | llvm-svn: 46090
* Do not mark EH tables no-dead-strip unless theDale Johannesen2008-01-163-13/+50
| | | | | | associated function is so marked. llvm-svn: 46088
* Added support from retrieving stored values to variables.Ted Kremenek2008-01-161-2/+6
| | | | llvm-svn: 46087
* Added support for assignments in GRConstants.Ted Kremenek2008-01-161-0/+24
| | | | llvm-svn: 46086
* Fixed bug where GRConstants::AddBindings() did not check for valuesTed Kremenek2008-01-161-1/+2
| | | | | | that were "not a constant." llvm-svn: 46085
* Fixed bug in cleanup of nodes in ExplodedNodeImpl where we should directlyTed Kremenek2008-01-161-1/+1
| | | | | | call the dstor instead of using delete. llvm-svn: 46084
* Move promoteExprToType from being a static method in SemaExpr.cpp to beingChris Lattner2008-01-165-47/+77
| | | | | | | | | | a method named ImpCastExprToType in Sema. Use this method to insert implicit casts for case statements from their operand type to the condition type of the switch. This fixes a crash on test/CodeGen/statements.c, reported by Eli Friedman. llvm-svn: 46083
* add accessors to switchstmt.Chris Lattner2008-01-161-0/+5
| | | | llvm-svn: 46082
* Fixed broken bitmasking in the ctor of ProgramPoint.Ted Kremenek2008-01-161-1/+1
| | | | llvm-svn: 46081
* Added missing call to the checker's Initialize() method in the alternateTed Kremenek2008-01-161-2/+4
| | | | | | ctor for GREngine. llvm-svn: 46080
* Added missing ctor to ExplodedGraph.Ted Kremenek2008-01-161-0/+2
| | | | llvm-svn: 46079
* Fixed incorrect pointer mask.Ted Kremenek2008-01-161-1/+1
| | | | llvm-svn: 46078
* Shortened driver option for running the GR-constants analysis to --grconstants.Ted Kremenek2008-01-161-1/+1
| | | | llvm-svn: 46076