- May 16, 2008
-
-
Eric Christopher authored
its associated call site. llvm-svn: 51204
-
Eli Friedman authored
at the Sema layer. llvm-svn: 51203
-
Eli Friedman authored
the condidtional have compatible types, they are not necessarily the same type. Therefore, we cast to the composite type. As a hack, for the moment we assume that the composite type is the type of the left-hand expression; this isn't correct, but it's good enough for most purposes. llvm-svn: 51202
-
Dale Johannesen authored
missing it. gcc.dg/darwin-weakimport-2.c. Handle common and weak differently for darwin ppc32. llvm-svn: 51201
-
Gabor Greif authored
API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
-
Nate Begeman authored
llvm-svn: 51199
-
Ted Kremenek authored
llvm-svn: 51198
-
Ted Kremenek authored
Partitioned BugTypeCachedLocation::isCached() into two methods: one that accepts and ExplodedNode, and the other that accepts a ProgramPoint. The default behavior is to cache bug reports by the location they occur (the end node). Subclasses can override this behavior by providing a different ProgramPoint. llvm-svn: 51197
-
Eli Friedman authored
llvm-svn: 51196
-
Eli Friedman authored
llvm-svn: 51195
-
Eli Friedman authored
llvm-svn: 51194
-
Eli Friedman authored
llvm-svn: 51193
-
Evan Cheng authored
llvm-svn: 51192
-
Evan Cheng authored
llvm-svn: 51191
-
Ted Kremenek authored
llvm-svn: 51190
-
Eli Friedman authored
llvm-svn: 51188
-
Duncan Sands authored
included after local headers. llvm-svn: 51187
-
Duncan Sands authored
original method caused gcc-4.2 to complain. llvm-svn: 51186
-
Evan Cheng authored
llvm-svn: 51184
-
Evan Cheng authored
llvm-svn: 51183
-
Owen Anderson authored
safer manner by loop deletion. llvm-svn: 51182
-
Owen Anderson authored
llvm-svn: 51181
-
Owen Anderson authored
llvm-svn: 51180
-
Owen Anderson authored
Also, use SCEV to determine the trip count of the loop, which is more powerful and accurate that Loop::getTripCount. llvm-svn: 51179
-
Owen Anderson authored
llvm-svn: 51178
-
Owen Anderson authored
a potentially infinite loop, which is undesirable. Instead, test the LICM behavior that we're really interested in. llvm-svn: 51177
-
Chris Lattner authored
llvm-svn: 51176
-
Dale Johannesen authored
llvm-svn: 51173
-
Dale Johannesen authored
llvm-svn: 51172
-
Dan Gohman authored
test/Verifier/2002-11-05-GetelementptrPointers.ll, which was incorrect. Instead, fix getIndexedType to not follow pointer types, as PointerType is a subclass of CompositeType. llvm-svn: 51171
-
Dan Gohman authored
llvm-svn: 51170
-
Dan Gohman authored
use-before-def. The problem comes up in code with multiple PHIs where one PHI is being rewritten in terms of the other, but the other needs to be casted first. LLVM rules requre the cast instruction to be inserted after any PHI instructions, but when instructions were inserted to replace the second PHI value with a function of the first, they were ended up going before the cast instruction. Avoid this problem by remembering the location of the cast instruction, when one is needed, and inserting the expansion of the new value after it. This fixes a bug that surfaced in 255.vortex on x86-64 when instcombine was removed from the middle of the loop optimization passes. llvm-svn: 51169
-
Ted Kremenek authored
in Sema::CheckFunctionCall: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080512/005706.html The bug was that the logic from the helper methods used by CheckFunctionCall were being inverted (a subtle bug). This would cause the parser to discard any valid AST nodes involving several builtins (see patch). This removes the last regression failure I'm seeing in the test suite: Analysis-Apple/NoReturn. llvm-svn: 51168
-
Dale Johannesen authored
with what the test is testing; makes it pass again on ppc32. llvm-svn: 51167
-
Dale Johannesen authored
llvm-svn: 51166
-
Evan Cheng authored
llvm-svn: 51165
-
- May 15, 2008
-
-
Ted Kremenek authored
expressions. This appears to be a regression introduced in r51113 that caused many test cases to fail (there is still a test case in the Analysis directory that is failing): http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080512/005706.html llvm-svn: 51164
-
rdar://problem/5929344Steve Naroff authored
Fix rewriter bug <rdar://problem/5929344> clang ObjC rewriter: "extern int __CFConstantStringClassReference[];" should be extern "C". Have clang predefine OBJC_NEW_PROPERTIES (which is what gcc does). llvm-svn: 51163
-
Dale Johannesen authored
This changes the .bc file format, but if I understand how it works correctly, old .bc files continue to be readable. llvm-svn: 51161
-
Nate Begeman authored
something with a v1 type. llvm-svn: 51160
-