Chris Lattner
9b3bbe9db7
Implement rdar://6319320: give a good diagnostic for cases where people
...
are trying to use the old GCC "casts as lvalue" extension. We don't and
will hopefully never support this.
llvm-svn: 59460
2008-11-17 19:51:54 +00:00
Steve Naroff
753567f2c1
Fix <rdar://problem/6316324> [sema] spurious warning on comparison of qualified id.
...
llvm-svn: 59459
2008-11-17 19:49:16 +00:00
Dan Gohman
a687fd8339
Use SUnit's CycleBound field instead of duplicating it in
...
a side-car datastructure
llvm-svn: 59458
2008-11-17 19:45:19 +00:00
Ted Kremenek
f9f58f085d
Updated checker build.
...
llvm-svn: 59457
2008-11-17 19:26:13 +00:00
Dale Johannesen
39b34e6d32
Remove these, which test for optimizations that
...
are not currently done (cf PowerPC/README.txt).
llvm-svn: 59456
2008-11-17 18:57:45 +00:00
Dale Johannesen
aae3a4f864
Move some former testcases (low-probability codegen
...
optimizations) into this wishlist.
llvm-svn: 59455
2008-11-17 18:56:34 +00:00
Devang Patel
b63c74730c
Let AnalyzeAlloca() remove debug intrinsics.
...
llvm-svn: 59454
2008-11-17 18:37:53 +00:00
Fariborz Jahanian
e3126a24e3
Test case for objective-c's @synchronized statement.
...
llvm-svn: 59451
2008-11-17 18:03:28 +00:00
Richard Osborne
6751b4a604
Don't produce ADDC/ADDE when expanding SHL unless they are legal
...
for the target. This fixes PR3080.
llvm-svn: 59450
2008-11-17 17:34:31 +00:00
Mikhail Glushenkov
20313c954e
Support dependencies between plugins by priority-sorting.
...
llvm-svn: 59449
2008-11-17 17:30:25 +00:00
Mikhail Glushenkov
7549d568d5
Filter ToolPropertiesList to exclude all Tools not mentioned in the compilation graph.
...
llvm-svn: 59448
2008-11-17 17:29:42 +00:00
Mikhail Glushenkov
faae122e07
Add a layer of indirection to make plugins more flexible.
...
Use strings instead of TableGen defs in the compilation graph
definition. Makes it easier for the plugins to modify an existing graph.
llvm-svn: 59447
2008-11-17 17:29:18 +00:00
Douglas Gregor
accde4343c
Add TODO item for adding more source-range information to declarators
...
llvm-svn: 59446
2008-11-17 17:14:10 +00:00
Dan Gohman
17c226b8ca
Don't use the isPending flag to mean what the isAvailable flag means.
...
llvm-svn: 59445
2008-11-17 16:37:30 +00:00
Steve Naroff
ecf2bb8724
Fix <rdar://problem/6320086> parser rejects block capturing ivar.
...
llvm-svn: 59444
2008-11-17 16:28:52 +00:00
Douglas Gregor
d69246bd5b
Some cleanups for C++ operator overloading
...
llvm-svn: 59443
2008-11-17 16:14:12 +00:00
Douglas Gregor
9edcc802c3
Simplify error messages for two-parameter overloaded increment/decrement operators
...
llvm-svn: 59442
2008-11-17 15:03:30 +00:00
Douglas Gregor
77324f3854
Introduction the DeclarationName class, as a single, general method of
...
representing the names of declarations in the C family of
languages. DeclarationName is used in NamedDecl to store the name of
the declaration (naturally), and ObjCMethodDecl is now a NamedDecl.
llvm-svn: 59441
2008-11-17 14:58:09 +00:00
Chris Lattner
d1f5e5d304
pad header out to 80 cols
...
llvm-svn: 59438
2008-11-17 04:06:37 +00:00
Chris Lattner
8ae89ca65e
add OperatorKinds.* to the project.
...
llvm-svn: 59437
2008-11-17 04:05:52 +00:00
Chris Lattner
bcca40b264
line up some columns, no functionality change.
...
llvm-svn: 59436
2008-11-17 04:03:07 +00:00
Eli Friedman
dcbcbb827d
A few corrections to the expr constant work. Not enabled at the
...
moment.
llvm-svn: 59435
2008-11-17 03:57:28 +00:00
Zhongxing Xu
a5055a03c6
move partial template specialization to FoldingSet.h.
...
llvm-svn: 59434
2008-11-17 02:40:00 +00:00
Anders Carlsson
4425d8e37b
More expr constant work. (Off by default).
...
llvm-svn: 59433
2008-11-17 01:58:55 +00:00
Mon P Wang
4964368e0d
Fixed legalization of CONVERT_RNDSAT for integers.
...
llvm-svn: 59432
2008-11-17 00:41:12 +00:00
Lang Hames
41df63945d
Removed 2008-10-17-SpillerBug.ll as it does not provide an accurate test of PR2898.
...
llvm-svn: 59431
2008-11-16 23:30:12 +00:00
Anders Carlsson
899c7050b6
Address some comments Eli had.
...
llvm-svn: 59430
2008-11-16 22:46:56 +00:00
Nuno Lopes
527b5a6858
use HandleConversionToBool() to check if a given cond is foldable (per Eli's comment)
...
llvm-svn: 59429
2008-11-16 22:06:39 +00:00
Anders Carlsson
9ddf7bedf9
More complex float evaluator support.
...
llvm-svn: 59428
2008-11-16 21:51:21 +00:00
Chris Lattner
807e8c5d63
Describe how constant folding and i-c-e diagnosing should work.
...
Unfortunately, we're not here yet, but eventually Expr::isConstantExpr
and friends should go away.
llvm-svn: 59427
2008-11-16 21:48:07 +00:00
Chris Lattner
67d7b9204c
rename Expr::tryEvaluate to Expr::Evaluate.
...
llvm-svn: 59426
2008-11-16 21:24:15 +00:00
Anders Carlsson
537969c237
Add very limited support for evaluating complex floats.
...
llvm-svn: 59425
2008-11-16 20:27:53 +00:00
Chris Lattner
1b03f76113
Trivial tidying
...
llvm-svn: 59424
2008-11-16 20:22:05 +00:00
Chris Lattner
e0a828ee41
add PTHLexer.h to project
...
llvm-svn: 59423
2008-11-16 20:18:49 +00:00
Nuno Lopes
e236a48210
fix folding of comma if given a non-constant operand.
...
Eli please take a look, as I'm not sure if this gets the extension warning in the right place
llvm-svn: 59422
2008-11-16 20:09:07 +00:00
Nuno Lopes
420426100c
make IntExprEvaluator fold the ?: operator
...
llvm-svn: 59421
2008-11-16 19:28:31 +00:00
Anders Carlsson
9f9e4249cc
More work on the constant evaluator. Eli, it would be great if you could have a look at this.
...
llvm-svn: 59420
2008-11-16 19:01:22 +00:00
Chris Lattner
962b4eed9d
Fix PR3075, __builtin_stdarg_start being misprototyped. This affects netbsd headers.
...
llvm-svn: 59419
2008-11-16 18:43:46 +00:00
Chris Lattner
e6de6252c2
Fix PR3077: tokens that come from macro expansions whose macro was
...
defined in a system header should be treated as system header tokens
even if they are instantiated in a different place.
llvm-svn: 59418
2008-11-16 18:36:34 +00:00
Chris Lattner
354e8b8189
punctuate, add wording about patches contributed by others.
...
llvm-svn: 59417
2008-11-16 17:40:16 +00:00
Torok Edwin
026259faeb
If SI->size() is 0, we are not allowed to dereference ->begin().
...
This fixed PR3078.
llvm-svn: 59416
2008-11-16 17:21:25 +00:00
Lang Hames
782ec1a746
2008-10-17-SpillerBug.ll is currently failing, but this doesn't reflect an actual regression of PR2898. This test should probably be removed. I've XFAILed it for now to keep buildbot quiet while this is considered.
...
llvm-svn: 59415
2008-11-16 13:11:09 +00:00
Lang Hames
49ab8bc67d
Big PBQP allocator update. Adds coalescing support, stack slot coloring, several bug-fixes.
...
llvm-svn: 59414
2008-11-16 12:12:54 +00:00
Zhongxing Xu
e76577a97d
add targe triple commandline option to fix test failure on Linux.
...
llvm-svn: 59412
2008-11-16 09:17:52 +00:00
Chris Lattner
981f33b0b6
add dump and print methods, add operator<< for APValue.
...
llvm-svn: 59411
2008-11-16 07:46:48 +00:00
Chris Lattner
85d1908caf
move some APValue methods out of line.
...
llvm-svn: 59410
2008-11-16 07:35:53 +00:00
Chris Lattner
7917b43a28
eliminate some std::set's.
...
llvm-svn: 59409
2008-11-16 07:17:51 +00:00
Anders Carlsson
acc7981883
Add the ability to evaluate comparison operators with floating point numbers as operands.
...
llvm-svn: 59408
2008-11-16 07:17:21 +00:00
Zhongxing Xu
99a96d6ef3
Enhance modularization: return a <state,loc> pair to let GRExprEngine modify the
...
environment.
llvm-svn: 59407
2008-11-16 07:06:26 +00:00
Chris Lattner
f8f6270f14
simplify loop
...
llvm-svn: 59406
2008-11-16 06:35:18 +00:00