- Jan 21, 2008
-
-
Ted Kremenek authored
problem was that we previously hashed based on the pointers of the left and right children, but this is bogus: we can easily have different trees that represent the same set. Now we use a hashing based scheme that compares the *contents* of the trees, but not without having to do a full scan of a tree. The only caveat is that with hashing is that we may have collisions, which result in two different trees being falsely labeled as equivalent. If this becomes a problem, we can add extra data to the profile to hopefully resolve most collisions. llvm-svn: 46224
-
Anton Korobeynikov authored
llvm-svn: 46223
-
Chris Lattner authored
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. This should be pulled into the 2.2 release branch. llvm-svn: 46222
-
Devang Patel authored
llvm-svn: 46220
-
Owen Anderson authored
llvm-svn: 46218
-
Owen Anderson authored
llvm-svn: 46217
-
Duncan Sands authored
that return an opaque type by value, as long as you don't call it or provide a body (you can take the address of it). So it is wrong to insist that sret parameters not be an opaque*. And I guess it is really up to codegen to complain if someone tries to call such a function. I'm also removing the analogous check from byval parameters, since I don't see why we shouldn't allow them as long as no-one tries to call the function or give it a body. llvm-svn: 46216
-
Fariborz Jahanian authored
llvm-svn: 46212
-
Devang Patel authored
llvm-svn: 46209
-
Duncan Sands authored
with a size, like byval. llvm-svn: 46207
-
Duncan Sands authored
check the callee also if it is known. llvm-svn: 46206
-
Dale Johannesen authored
llvm-svn: 46204
-
- Jan 20, 2008
-
-
Duncan Sands authored
Fixes PR1935. llvm-svn: 46203
-
Anton Korobeynikov authored
llvm-svn: 46200
-
Anton Korobeynikov authored
llvm-svn: 46199
-
Anton Korobeynikov authored
llvm-svn: 46198
-
Duncan Sands authored
to complain on x86-64 (gcc 4.1). Use ~0U instead. llvm-svn: 46197
-
Lauro Ramos Venancio authored
llvm-svn: 46196
-
Dale Johannesen authored
llvm-svn: 46195
-
- Jan 19, 2008
-
-
Ted Kremenek authored
reported in pr1929 (http://llvm.org/PR1929). llvm-svn: 46193
-
Duncan Sands authored
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: 46192
-
Ted Kremenek authored
FoldingSetTrait instead of directly calling a 'Profile' method. llvm-svn: 46190
-
Ted Kremenek authored
llvm-svn: 46189
-
Ted Kremenek authored
llvm-svn: 46188
-
Ted Kremenek authored
'FoldingSetNodeImpl' (previously 'FoldingSetNodeID' was a typedef of 'FoldingSetNodeImpl::NodeID'). Why? Clients can now easily forward declare 'FoldingSetNodeID' without having to include FoldingSet.h. llvm-svn: 46187
-
Ted Kremenek authored
instead of always assuming that the stored objects had a method called 'Profile'. The default behavior is to dispatch to a 'Profile' method (as before), but via template specialization this behavior can now be overridden by clients. Added templated class 'FoldingSetNodeWrapper', a generic wrapper class that allows one to insert objects into a FoldingSet that do not directly inherit from FoldingSetNode. This is useful for inserting objects that do not always need to pay the overhead of inheriting from FoldingSetNode, or were designed with that behavior in mind. llvm-svn: 46186
-
Fariborz Jahanian authored
llvm-svn: 46185
-
Steve Naroff authored
Fix two bugs with an @throw that doesn't have a statement. - ObjCAtThrowStmt::getSourceRange() needs to check if it has a statement (and not go "boom":-) - RewriteTest::RewriteObjCThrowStmt() needs to generate refer to the current exception. llvm-svn: 46184
-
Fariborz Jahanian authored
llvm-svn: 46183
-
Steve Naroff authored
llvm-svn: 46182
-
- Jan 18, 2008
-
-
Evan Cheng authored
llvm-svn: 46180
-
Steve Naroff authored
Sema::FinalizeDeclaratorGroup(): Tighten up the tentative definition rule when dealing with arrays. Bug submitted by Eli. llvm-svn: 46179
-
Dale Johannesen authored
llvm-svn: 46174
-
Chris Lattner authored
llvm-svn: 46173
-
Dale Johannesen authored
llvm-svn: 46172
-
Chris Lattner authored
llvm-svn: 46171
-
Chris Lattner authored
llvm-svn: 46166
-
Chris Lattner authored
llvm-svn: 46165
-
Chris Lattner authored
llvm-svn: 46162
-
Chris Lattner authored
_test: fctiwz f0, f1 stfiwx f0, 0, r4 blr instead of: _test: fctiwz f0, f1 stfd f0, -8(r1) nop nop lwz r2, -4(r1) stb r2, 0(r4) blr The former is not correct (stores 4 bytes, not 1). llvm-svn: 46161
-