aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-02-12Fix bugs section.llvmorg-2.2.0release/2.2.xTanya Lattner1-46/+47
llvm-svn: 46992
2008-02-12Merge release notes from mainline.Tanya Lattner1-179/+249
llvm-svn: 46986
2008-02-12release tag.Tanya Lattner1-0/+1
llvm-svn: 46982
2008-02-04Merge from mainline.Tanya Lattner1-2/+0
Don't dump the function! llvm-svn: 46699
2008-02-04Merge from mainline.Tanya Lattner3-9/+9
Provide correct DWARF register numbering for debug information emission on x86-32/Darwin. This should fix bunch of issues. llvm-svn: 46698
2008-01-23Merge from mainline.Tanya Lattner1-0/+3
Trivial patch to fix two warnings llvm-svn: 46272
2008-01-22Merge from mainline.Tanya Lattner1-1/+1
One too many )'s breaks 'make clean' with certain versions of make. This fixes PR1927 llvm-svn: 46248
2008-01-21Merge from mainline.Tanya Lattner1-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
2008-01-21Merge from mainline.Tanya Lattner1-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
2008-01-21Merge from mainline.Tanya Lattner1-3/+12
Honour ByVal parameter attribute for name decoration. llvm-svn: 46214
2008-01-21Merge from mainline.Tanya Lattner1-1/+3
Make sure the caller doesn't use freed memory. Fixes PR1935. llvm-svn: 46213
2008-01-18UnXFAIL this test.Tanya Lattner1-3/+0
llvm-svn: 46169
2008-01-18Merge from mainline.Tanya Lattner1-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
2008-01-18Merge from mainline.Tanya Lattner2-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
2008-01-17Update for current year.Tanya Lattner3-6/+6
llvm-svn: 46121
2008-01-17Set version to 2.2Tanya Lattner2-1016/+3283
Regenerated configure with autoconf 2.60. Do not use 2.61 until AutoGen.sh is updated! llvm-svn: 46118
2008-01-17Creating 2.2 release branchTanya Lattner550-79343/+0
llvm-svn: 46114
2008-01-17DAE bug fix. Don't lose parameter attributes on vararg arguments.Evan Cheng1-5/+9
llvm-svn: 46113
2008-01-17Enable CBEDevang Patel1-1/+1
llvm-svn: 46112
2008-01-17When a live virtual register is being clobbered by an implicit def, it is ↵Evan Cheng2-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
2008-01-17Computed length of a __func__ identifier used in an objective-c method ↵Fariborz Jahanian3-1/+11
correctly, when creating its type. llvm-svn: 46109
2008-01-17Fix arg promotion to propagate the correct attrs on the calls toChris Lattner2-14/+50
promoted functions. This is important for varargs calls in particular. Thanks to duncan for providing a great testcase. llvm-svn: 46108
2008-01-17Ignore --paramSeo Sanghyeon1-0/+2
llvm-svn: 46107
2008-01-17Added some experimental optimizations to remove dead values from theTed Kremenek1-14/+51
state. llvm-svn: 46106
2008-01-17Declarator::clear(): Null out variable after it's been deleted.Steve Naroff2-0/+4
This avoids a double free (which is good:-) Bug submitted by Eli. llvm-svn: 46105
2008-01-17Replace std::vector<bool> with BitVector.Evan Cheng1-4/+8
llvm-svn: 46104
2008-01-16Simplify comment.Steve Naroff1-2/+1
llvm-svn: 46103
2008-01-16Type::isArithmeticType(): disallow incomplete enum decls.Steve Naroff3-2/+12
Bug submitted by Eli. llvm-svn: 46102
2008-01-16Changed sorting criteria for DSPtr to put sub-expressions first in the valueTed Kremenek1-1/+1
map. This will allow us to quickly prune them from maps without searching the entire map. llvm-svn: 46101
2008-01-16Changed sorting criteria for DSPtr to sort Decl* before Expr*, andTed Kremenek1-2/+5
to sort sub-expressions before Block-level expressions. llvm-svn: 46100
2008-01-16Fixes a nasty dag combiner bug that causes a bunch of tests to fail at -O0.Evan Cheng2-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
2008-01-16Trampoline support for x86-64. This looks likeDuncan Sands2-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
2008-01-16IntegerLiterals are no longer evaluated to create separate nodes; theirTed Kremenek1-15/+20
values are determined when evaluating the parent expression. llvm-svn: 46096
2008-01-16Fixed bug where we performed addition instead of subtraction duringTed Kremenek1-1/+1
constant propagation. llvm-svn: 46095
2008-01-16Fixed iterator bug in ExplodedNodeImpl::NodeGroup::end(); we would improperlyTed Kremenek2-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
2008-01-16Added initial graph visualization support for the GRConstants analysis.Ted Kremenek1-11/+85
llvm-svn: 46092
2008-01-16Fixed invalid typedefs in the root and eop iterators for ExplodedGraph.Ted Kremenek1-8/+8
llvm-svn: 46091
2008-01-16Handle attribute(used) global variables that are i8.Chris Lattner1-14/+13
llvm-svn: 46090
2008-01-16Do not mark EH tables no-dead-strip unless theDale Johannesen3-13/+50
associated function is so marked. llvm-svn: 46088
2008-01-16Added support from retrieving stored values to variables.Ted Kremenek1-2/+6
llvm-svn: 46087
2008-01-16Added support for assignments in GRConstants.Ted Kremenek1-0/+24
llvm-svn: 46086
2008-01-16Fixed bug where GRConstants::AddBindings() did not check for valuesTed Kremenek1-1/+2
that were "not a constant." llvm-svn: 46085
2008-01-16Fixed bug in cleanup of nodes in ExplodedNodeImpl where we should directlyTed Kremenek1-1/+1
call the dstor instead of using delete. llvm-svn: 46084
2008-01-16Move promoteExprToType from being a static method in SemaExpr.cpp to beingChris Lattner5-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
2008-01-16add accessors to switchstmt.Chris Lattner1-0/+5
llvm-svn: 46082
2008-01-16Fixed broken bitmasking in the ctor of ProgramPoint.Ted Kremenek1-1/+1
llvm-svn: 46081
2008-01-16Added missing call to the checker's Initialize() method in the alternateTed Kremenek1-2/+4
ctor for GREngine. llvm-svn: 46080
2008-01-16Added missing ctor to ExplodedGraph.Ted Kremenek1-0/+2
llvm-svn: 46079
2008-01-16Fixed incorrect pointer mask.Ted Kremenek1-1/+1
llvm-svn: 46078
2008-01-16Shortened driver option for running the GR-constants analysis to --grconstants.Ted Kremenek1-1/+1
llvm-svn: 46076