Anders Carlsson
6bd992d1c3
Can't have arrays of auto.
...
llvm-svn: 74314
2009-06-26 19:33:28 +00:00
Chris Lattner
2ed6a9d7bd
move magic for PIC constantpool references from asmprinter to isel.
...
llvm-svn: 74313
2009-06-26 19:22:52 +00:00
Anders Carlsson
364035d1a8
An auto variable can't appear in its own initializer.
...
llvm-svn: 74312
2009-06-26 19:16:07 +00:00
Chris Lattner
7f82a19fbf
implement DOTGraphTraits<SelectionDAG*>::getNodeLabel in terms of
...
SDNode::print_details to eliminate a ton of near-duplicate code.
llvm-svn: 74311
2009-06-26 19:06:10 +00:00
Chris Lattner
08d734448e
use jump table operand flags in asm printer instead of "magic predicates"
...
llvm-svn: 74310
2009-06-26 18:55:01 +00:00
Anders Carlsson
082acded44
Implement enough of the 'auto' keyword so we can claim to support N2546.
...
llvm-svn: 74307
2009-06-26 18:41:36 +00:00
Daniel Dunbar
a720af1370
More spelling Count as count.
...
llvm-svn: 74306
2009-06-26 18:35:07 +00:00
Devang Patel
2872df839d
typo
...
llvm-svn: 74305
2009-06-26 18:33:42 +00:00
Devang Patel
0d425350b2
Revrt PR4228 fix for now.
...
llvm-svn: 74304
2009-06-26 18:32:22 +00:00
Daniel Dunbar
c7d0e6525d
Simplify, and fix a possible crash (never happens however, because we don't ever
...
take this path with non-builtin floating point types).
llvm-svn: 74303
2009-06-26 18:32:06 +00:00
Daniel Dunbar
e5ebf02e0e
Fix bar title in graphs.
...
llvm-svn: 74302
2009-06-26 18:29:52 +00:00
Douglas Gregor
cceb97559e
Improve template argument deduction for reference parameters when
...
deducing template arguments from a function call. Plus, add a bunch of
tests.
llvm-svn: 74301
2009-06-26 18:27:22 +00:00
Bob Wilson
88efd1fed3
Swap order of arguments to vst[34]* intrinsics. This matches the order
...
used by both the user-visible intrinsics defined by ARM and the
corresponding GCC builtins.
llvm-svn: 74300
2009-06-26 18:23:29 +00:00
Nate Begeman
2ffd384441
OpenCL 1.0 Support:
...
Add support for scalar to vector and partially initialized vector constant initializers.
llvm-svn: 74299
2009-06-26 18:22:18 +00:00
Daniel Dunbar
6b1678d5d8
Spell Count as count.
...
llvm-svn: 74298
2009-06-26 18:21:54 +00:00
Daniel Dunbar
3ecc92147d
Update performance numbers (missed a link)
...
llvm-svn: 74297
2009-06-26 18:15:47 +00:00
Daniel Dunbar
5b165e4930
Update performance numbers.
...
llvm-svn: 74296
2009-06-26 18:14:41 +00:00
David Goodwin
3bd42afebe
Add Thumb-2 tests.
...
llvm-svn: 74295
2009-06-26 18:10:30 +00:00
Owen Anderson
4a03279231
Use atomic operations for accessing this global counter.
...
llvm-svn: 74294
2009-06-26 18:09:03 +00:00
David Goodwin
5960e6d974
ADC used to implement adde should use "adcs" opcode instead of "adc".
...
llvm-svn: 74293
2009-06-26 18:07:25 +00:00
Daniel Dunbar
fd089990f7
Initial import of compiler-rt.
...
-
llvm-svn: 74292
2009-06-26 16:47:03 +00:00
Owen Anderson
455df54003
Get rid of unnecessary global variables.
...
llvm-svn: 74291
2009-06-26 16:46:15 +00:00
David Goodwin
34f7ede9e7
ORN and BIC tests.
...
llvm-svn: 74289
2009-06-26 16:20:06 +00:00
David Goodwin
0377f737ff
Currently there is a pattern for the thumb-2 MOV 16-bit immediate instruction. That instruction cannot write the flags so it should use T2I instead of T2sI.
...
Also, added a pattern for the thumb-2 MOV of shifted immediate since that can encode immediates not encodable by the 16-bit immediate.
llvm-svn: 74288
2009-06-26 16:10:07 +00:00
Fariborz Jahanian
ebe772e2f2
Minor change per Doug's comments.
...
- Fariborz
llvm-svn: 74287
2009-06-26 16:08:57 +00:00
Douglas Gregor
6d94e6a5f3
Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby
...
llvm-svn: 74285
2009-06-26 15:37:00 +00:00
Douglas Gregor
1d88779e2f
CMake: add configure checks for pthread_rwlock_init and pthread_getspecific
...
llvm-svn: 74284
2009-06-26 14:35:43 +00:00
Owen Anderson
331c8ab96f
Fix compilation without pthreads.
...
Patch by Xerxes Ranby.
llvm-svn: 74283
2009-06-26 08:48:03 +00:00
Evan Cheng
7779156b39
Fix tests: Count -> count.
...
llvm-svn: 74282
2009-06-26 07:05:57 +00:00
Evan Cheng
d6460965a5
Indentation.
...
llvm-svn: 74281
2009-06-26 06:57:16 +00:00
Nate Begeman
f275870014
OpenCL 1.0 support: attributes
...
llvm-svn: 74280
2009-06-26 06:32:41 +00:00
Anders Carlsson
6915bf6158
Add NamedDecl::getUnderlyingDecl that can see through UsingDecl and ObjCCompatibleAliasDecl.
...
llvm-svn: 74279
2009-06-26 06:29:23 +00:00
Evan Cheng
1eda63715f
Simplify predicate CarryDefIsUsed.
...
llvm-svn: 74277
2009-06-26 06:10:18 +00:00
Evan Cheng
34c8c7414f
Fix a CodeGenDAGPatterns bug. Check if top level predicates match when it's looking for duplicates.
...
llvm-svn: 74276
2009-06-26 05:59:16 +00:00
Chris Lattner
1d3b65a6ae
fix a pasto.
...
llvm-svn: 74275
2009-06-26 05:56:49 +00:00
Chris Lattner
68bb4e0e01
dot graph viewing is apparently not using SDNode::print_details, this is bad,
...
but in the meantime lets print targetflags on node labels.
llvm-svn: 74274
2009-06-26 05:55:43 +00:00
Chris Lattner
17dcba9da4
propagate target operand flags from dag nodes into MachineOperands.
...
llvm-svn: 74273
2009-06-26 05:52:14 +00:00
Chris Lattner
bd7e26db16
propagate target operand flags through addressing mode selection.
...
llvm-svn: 74272
2009-06-26 05:51:45 +00:00
Shantonu Sen
89d5c4196e
Clarify how to configure llvm-gcc-4.2 for use with
...
test suite. Remove documentation for --with-f2c, which
is no longer supported. Remove information about obtaining
tcl/expect, which ship with Mac OS X by default since
10.4.
llvm-svn: 74271
2009-06-26 05:44:53 +00:00
Chris Lattner
54b8ebced6
fit in 80 cols
...
llvm-svn: 74270
2009-06-26 05:39:02 +00:00
Anders Carlsson
f057cb2310
See through UsingDecls in more places.
...
llvm-svn: 74269
2009-06-26 05:26:50 +00:00
Anders Carlsson
288dcd1158
Fix failing test.
...
llvm-svn: 74268
2009-06-26 05:14:36 +00:00
Zhongxing Xu
3d0fc146f9
Fix build break.
...
llvm-svn: 74267
2009-06-26 05:13:13 +00:00
Chris Lattner
d86a13e02e
Improve error recovery in C++: when we hit 'implicit int' cases in C++,
...
these are usually because the parser was thoroughly confused. In addition
to typing the value being declared as an int and hoping for the best, we
mark the value as invalid so we don't get chains of errors when it is
used downstream. In C, implicit int actually is valid, so typing the thing
as int is good and marking it invalid is bad. :)
llvm-svn: 74266
2009-06-26 04:45:06 +00:00
Nick Lewycky
2dbc6476cb
Escape the name of the module since it comes from the file name and may include
...
invalid characters like backslashes on Windows. Patch by James Abbatiello!
llvm-svn: 74265
2009-06-26 04:33:37 +00:00
Chris Lattner
5558e9fc55
fix PR4452, a crash on invalid. The error recovery is still terrible in this case
...
but at least we don't crash :)
llvm-svn: 74264
2009-06-26 04:27:47 +00:00
Chris Lattner
6dde0bfef7
oink is dead.
...
llvm-svn: 74263
2009-06-26 04:10:17 +00:00
Anders Carlsson
5f212cbb73
Fix another assert related to using decls.
...
llvm-svn: 74262
2009-06-26 03:54:13 +00:00
Chris Lattner
e2355f70fa
rearrange more code, this avoids a token lookahead for foo<
...
llvm-svn: 74261
2009-06-26 03:52:38 +00:00
Chris Lattner
0eed3a6813
move some code around, no functionality change.
...
llvm-svn: 74260
2009-06-26 03:47:46 +00:00