- Aug 05, 2008
-
-
Owen Anderson authored
llvm-svn: 54337
-
Owen Anderson authored
llvm-svn: 54336
-
Daniel Dunbar authored
- Like EXTENSION but always generates a warning (even without -pedantic). - Updated ptr -> int, int -> ptr, and incompatible cast warnings to be EXTWARN. - Other EXTENSION level diagnostics should be audited for upgrade. - Updated several test cases to fix code which produced unanticipated warnings. llvm-svn: 54335
-
Owen Anderson authored
Update these tests to work by disabling the new correct CFG generation. This flag should ONLY be used to for tests like these. llvm-svn: 54334
-
Owen Anderson authored
- Add a basic machine-level dead block eliminator. These two have to go together, since many other parts of the code generator are unable to handle the unreachable blocks otherwise created. llvm-svn: 54333
-
Eli Friedman authored
version uses a new algorithm for evaluating the binomial coefficients which is significantly more efficient for AddRecs of more than 2 terms (see the comments in the code for details on how the algorithm works). It also fixes some bugs: it removes the arbitrary length restriction for AddRecs, it fixes the silent generation of incorrect code for AddRecs which require a wide calculation width, and it fixes an issue where we were incorrectly truncating the iteration count too far when evaluating an AddRec expression narrower than the induction variable. There are still a few related issues I know of: I think there's still an issue with the SCEVExpander expansion of AddRec in terms of the width of the induction variable used. The hack to avoid generating too-wide integers shouldn't be necessary; instead, the callers should be considering the cost of the expansion before expanding it (in addition to not expanding too-wide integers, we might not want to expand expressions that are really expensive, especially when optimizing for size; calculating an length-17 32-bit AddRec currently generates about 250 instructions of straight-line code on X86). Also, for long 32-bit AddRecs on X86, CodeGen really sucks at scheduling the code. I'm planning on filing follow-up PRs for these issues. llvm-svn: 54332
-
Dan Gohman authored
This allows it to work correctly on aggregate values. This fixes PR2623. llvm-svn: 54331
-
Dan Gohman authored
This allows it to work correctly on nested aggregate values. This fixes PR2625. llvm-svn: 54330
-
Dan Gohman authored
llvm-svn: 54329
-
Ted Kremenek authored
"the attached patch fixes some typos, 80 cols violations, etc. in comments." llvm-svn: 54328
-
- Aug 04, 2008
-
-
Daniel Dunbar authored
- clang was erroneously accepting address-of applied to lvalue expressions involving pointer arithmetic. - clang was erroneously rejecting address-of applied to deref expressions of pointer-typed variables. - Improved existing test case. - Fixes: <rdar://problem/6113867>, <rdar://problem/6080158> llvm-svn: 54326
-
Ted Kremenek authored
When results go to a auto-generated dir in /tmp, don't use randomized file names. Just output /tmp/scan-build-DATE-counter, where counter is an auto-incremented counter for runs produced that day. llvm-svn: 54325
-
Ted Kremenek authored
llvm-svn: 54324
-
Ted Kremenek authored
Recognize 'ccc-analyzer' as a build command some users may use. Treat it just like calling gcc. llvm-svn: 54323
-
Daniel Dunbar authored
llvm-svn: 54322
-
Ted Kremenek authored
Fix regression when invoking the MissingDealloc analysis: disable this check when in -fobjc-gc-only mode. llvm-svn: 54319
-
Daniel Dunbar authored
- Follows emission scheme used by llvm-gcc, i.e. invent an id for each label whose address is taken and replace each indirect goto by a switch to each possible target. - Currently we emit a switch for each indirect goto instead of merging them as llvm-gcc does. llvm-svn: 54318
-
Chris Lattner authored
Finally fix PR2189. This makes a fairly invasive but important change to move getAsArrayType into ASTContext instead of being a method on type. This is required because getAsArrayType(const AT), where AT is a typedef for "int[10]" needs to return ArrayType(const int, 10). Fixing this greatly simplifies getArrayDecayedType, which is a good sign. llvm-svn: 54317
-
Bruno Cardoso Lopes authored
aren't used anyway, they also used to broke compiling when fastcc was specified for a function, but not anymore. llvm-svn: 54316
-
Bruno Cardoso Lopes authored
llvm-svn: 54315
-
- Aug 03, 2008
-
-
Andrew Lenharth authored
llvm-svn: 54314
-
Chris Lattner authored
llvm-svn: 54313
-
Bruno Cardoso Lopes authored
llvm-svn: 54312
-
Ted Kremenek authored
llvm-svn: 54276
-
- Aug 02, 2008
-
-
Bruno Cardoso Lopes authored
Added hi,lo registers to be used,def implicitly. This provides better handle of instructions which use hi/lo. Fixes a small BranchAnalysis bug llvm-svn: 54274
-
Bruno Cardoso Lopes authored
llvm-svn: 54273
-
Ted Kremenek authored
llvm-svn: 54268
-
- Aug 01, 2008
-
-
Duncan Sands authored
llvm-svn: 54266
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 54265
-
Argyrios Kyrtzidis authored
llvm-svn: 54264
-
Bill Wendling authored
llvm-svn: 54262
-
Daniel Dunbar authored
- Just added prints for all the action functions. Ideally this would be extended to print all the information for the actions. llvm-svn: 54259
-
Daniel Dunbar authored
- There is an miscompilation issue remaining due to a poor interaction between the delayed emission of static functions and the emission of constructors, but that already existed prior to this change. llvm-svn: 54258
-
Daniel Dunbar authored
- Including possible priority argument - In other news, the attribute parsing code really needs a cleanup llvm-svn: 54257
-
- Jul 31, 2008
-
-
Ted Kremenek authored
Enhanced path-sensitive return-of-stack-address check to print out the name of the variable whose address was returned. llvm-svn: 54253
-
Dale Johannesen authored
llvm-svn: 54251
-
Bruno Cardoso Lopes authored
llvm-svn: 54250
-
Bruno Cardoso Lopes authored
the default legalizer. llvm-svn: 54249
-
Dale Johannesen authored
switches use the binary search algorithm) for environments that don't support it. PPC64 JIT is such an environment; turn the flag on for that. llvm-svn: 54248
-
Ted Kremenek authored
llvm-svn: 54247
-