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
Chris Lattner
704edfb095
simplify some code.
...
llvm-svn: 74259
2009-06-26 03:45:46 +00:00
Anders Carlsson
8d0f6b7c87
When creating LookupResults, see through UsingDecls. Fixes PR4450.
...
llvm-svn: 74258
2009-06-26 03:37:05 +00:00
Anders Carlsson
5140b3c4a6
Fix PR4448.
...
llvm-svn: 74257
2009-06-26 03:02:18 +00:00
Daniel Dunbar
b44c26b7aa
NewNightlyTest: Pull most VERBOSE handling into RunLoggedCommand function.
...
llvm-svn: 74256
2009-06-26 02:30:49 +00:00
Devang Patel
2cc6d183b2
Let's ignore MDStrings also!
...
llvm-svn: 74255
2009-06-26 02:26:12 +00:00
Devang Patel
62d414f327
Remove unnecessary includes.
...
llvm-svn: 74254
2009-06-26 02:25:46 +00:00
Daniel Dunbar
e7d42501c2
Fix may-be-used-uninitialized warning.
...
llvm-svn: 74253
2009-06-26 02:03:52 +00:00
Daniel Dunbar
2d3d1cd91a
NewNightlyTest: Factor out LLVM{Src,Obj,Test} variables.
...
- They can be overriden on the command line as well.
Add -teelogs option, which will also print the various logs on stdout.
llvm-svn: 74252
2009-06-26 01:53:05 +00:00
Devang Patel
0751a28888
Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms
...
and llvm.dbg.global_variables.
llvm-svn: 74251
2009-06-26 01:49:18 +00:00
Daniel Dunbar
aa311ca000
Fix unused variable warnings.
...
llvm-svn: 74250
2009-06-26 01:34:35 +00:00
Daniel Dunbar
07025e2c02
Fix spelling of 'count'
...
llvm-svn: 74249
2009-06-26 01:33:02 +00:00
Owen Anderson
276fc52b72
Fix error in the Win32 implementation pointed out by Howard Su.
...
llvm-svn: 74248
2009-06-26 00:51:20 +00:00
Nate Begeman
c69b740df4
OpenCL 1.0 support: explicit casts to ext-vector types
...
llvm-svn: 74247
2009-06-26 00:50:28 +00:00
Chris Lattner
2aaad91bbe
start adding logic in isel to determine asm printer semantics, step N of M.
...
llvm-svn: 74246
2009-06-26 00:43:52 +00:00
Ted Kremenek
bb597cdfc2
Remove '#include <sstream>' from libAnalysis.
...
llvm-svn: 74245
2009-06-26 00:43:22 +00:00
Ted Kremenek
af1ac826f6
Update method signature.
...
llvm-svn: 74244
2009-06-26 00:41:43 +00:00
Dan Gohman
ac3b5382b8
Change this code to a form about which VC++ reportedly isn't unhappy.
...
llvm-svn: 74243
2009-06-26 00:35:12 +00:00
Dan Gohman
7eaf50ecac
Fix LCSSA to avoid emitting a PHI node for the unwind destination of
...
an invoke instruction, since the value isn't really live across that
edge.
llvm-svn: 74242
2009-06-26 00:31:13 +00:00
Evan Cheng
e2c4d35f3e
Add a note about commuting conditional move.
...
llvm-svn: 74241
2009-06-26 00:28:48 +00:00
Dan Gohman
31167c61d5
Minor code simplification.
...
llvm-svn: 74240
2009-06-26 00:26:03 +00:00
Evan Cheng
cf661fc12a
These are done / no longer applicable.
...
llvm-svn: 74239
2009-06-26 00:25:27 +00:00
Ted Kremenek
18e1caa6bf
Unbreak build.
...
llvm-svn: 74238
2009-06-26 00:25:05 +00:00
Evan Cheng
5bf9011c2d
Mark a bunch of instructions commutable.
...
llvm-svn: 74237
2009-06-26 00:19:44 +00:00
Evan Cheng
9643ba8123
tst is also commutable.
...
llvm-svn: 74236
2009-06-26 00:19:07 +00:00
Owen Anderson
b99db00b64
Committed the wrong version in my last commit.
...
llvm-svn: 74235
2009-06-26 00:17:05 +00:00