- May 26, 2009
-
-
Eli Friedman authored
Found by code inspection; I haven't seen this in real-world code. llvm-svn: 72408
-
Anders Carlsson authored
llvm-svn: 72407
-
Anders Carlsson authored
llvm-svn: 72406
-
Eli Friedman authored
llvm-svn: 72405
-
- May 25, 2009
-
-
Eli Friedman authored
printf operands to long to suppress warnings. llvm-svn: 72404
-
Chris Lattner authored
low-level alias() method, allowing it to reason more aggressively about pointers into constant memory. PR4189 llvm-svn: 72403
-
Nick Lewycky authored
or use labels as members of structures for example. Also included a couple of whitespace fixes. llvm-svn: 72402
-
Eli Friedman authored
correctly. llvm-svn: 72401
-
Chris Lattner authored
even on Core2, not just AMD processors which was a surprise to me. llvm-svn: 72396
-
Chris Lattner authored
llvm-svn: 72395
-
Eli Friedman authored
left out handling for stuff like (S())++ for the moment. llvm-svn: 72394
-
Chris Lattner authored
argument. This avoids the argument from being silenced when the argument is the NULL macro, which is defined in a system header. This also makes the output a bit nicer, e.g.: t.c:8:3: warning: null passed to a callee which requires a non-null argument func1(NULL, cp2, i1); ^ ~~~~ vs something like: t.c:8:10: warning: argument is null where non-null is required func1(NULL, cp2, i1); ^ llvm-svn: 72393
-
Chris Lattner authored
llvm-svn: 72392
-
Chris Lattner authored
llvm-svn: 72391
-
Chris Lattner authored
llvm-svn: 72390
-
Chris Lattner authored
DiagnosticGroups.td, and add it as part of -Wformat (which gets it into -Wall). llvm-svn: 72389
-
Chris Lattner authored
1. When we accept "#garbage" in asm-with-cpp mode, change the token kind of the # to unknown so that the preprocessor won't try to process it as a real #. This fixes a crash on the attached example 2. Fix macro definition extents processing to handle #foo at the end of a macro to say the definition ends with the foo, not the #. This is a follow-on fix to r72283, and rdar://6916026 llvm-svn: 72388
-
Chris Lattner authored
llvm-svn: 72387
-
Chris Lattner authored
llvm-svn: 72386
-
Chris Lattner authored
llvm-svn: 72385
-
Nick Lewycky authored
can't just eliminate all global initializers. llvm-svn: 72378
-
Nick Lewycky authored
simplification. It's not clear to me whether this can replace the first of the linear instruction simplification stages or not, so I left it in. llvm-svn: 72377
-
Dan Gohman authored
llvm-svn: 72376
-
Dan Gohman authored
in the case where a loop exit value cannot be computed, instead of only in some cases while using SCEVCouldNotCompute in others. This simplifies getSCEVAtScope's callers. llvm-svn: 72375
-
- May 24, 2009
-
-
Eli Friedman authored
bit clearer. llvm-svn: 72374
-
Eli Friedman authored
corresponding integer type is legal. llvm-svn: 72373
-
Torok Edwin authored
one of the RecursivelyDeleteTriviallyDeadInstructions. Add a comment explaining why the cache needs to be cleared. llvm-svn: 72372
-
Torok Edwin authored
Also fix 80 column violation. llvm-svn: 72371
-
Eli Friedman authored
the RHS. Fixes assembler-with-cpp issue reported on cfe-dev. llvm-svn: 72370
-
Dan Gohman authored
leave the original comparison in place if it has other uses, since the other uses won't be dominated by the new comparison instruction. llvm-svn: 72369
-
Dan Gohman authored
Use &Ops[0] instead, which is safe since Ops will never be empty here. llvm-svn: 72368
-
Dan Gohman authored
comparison, use takeName to give the integer comparison a name. llvm-svn: 72367
-
Dan Gohman authored
sending SCEVUnknowns to expandAddToGEP. This avoids the need for expandAddToGEP to bend the rules and peek into SCEVUnknown expressions. Factor out the code for testing whether a SCEV can be factored by a constant for use in a GEP index. This allows it to handle SCEVAddRecExprs, by recursing. As a result, SCEVExpander can now put more things in GEP indices, so it emits fewer explicit mul instructions. llvm-svn: 72366
-
Dan Gohman authored
of low bits of the other operand are preserved in the output. llvm-svn: 72365
-
Torok Edwin authored
Fix by clearing the rewriter cache before deleting the trivially dead instructions. Also make InsertedExpressions use an AssertingVH to catch these bugs easier. llvm-svn: 72364
-
Eli Friedman authored
it's late, and I don't have any better ideas at the moment. Fixes PR4257. llvm-svn: 72363
-
Torok Edwin authored
can crash during instruction simplification (for example if it creates a broken module). llvm-svn: 72362
-
Torok Edwin authored
Sometimes when bugpointing a crash the bugpoint-reduced-simplified.bc reproduces a totally different bug than the original one ("GV doesn't have initializer"). Although its useful to report that bug too, I need a way to reduce the original bug, hence I introduced -disable-global-remove. llvm-svn: 72361
-
Eli Friedman authored
llvm-svn: 72360
-
Eli Friedman authored
all results and all operands are legal, so this change shouldn't affect behavior at all. llvm-svn: 72359
-