Bill Wendling
1b83ed5f7c
Revert r118457 and r118458. These won't hold for GPRs.
...
llvm-svn: 118462
2010-11-09 00:30:18 +00:00
Owen Anderson
9b14a25126
Fix PR8441, a race condition in the static attributes list. While the reference counting was itself threadsafe,
...
the implicit removal of each object from the global list was not. Make this operation atomic.
llvm-svn: 118461
2010-11-09 00:27:03 +00:00
Johnny Chen
31f29e98bf
Add keyboard shortcuts:
...
'run' => Control-C r (gud-run) "Run the program."
'process kill' => Control-C s (gud-stop-subjoball) "Stop the program."
llvm-svn: 118460
2010-11-09 00:24:51 +00:00
Nick Lewycky
14d88eb41f
Fix warning about unused variable 'Fn' in no-asserts builds. Also reflow this
...
block so that it looks more like the rest of the file. No functional change.
llvm-svn: 118459
2010-11-09 00:19:31 +00:00
Bill Wendling
31b850be15
Get the register and count from the register list operands.
...
llvm-svn: 118458
2010-11-08 23:51:20 +00:00
Bill Wendling
aeead4d1e1
reglist has two operands.
...
llvm-svn: 118457
2010-11-08 23:50:20 +00:00
Bill Wendling
8d2aa03ce1
The "addRegListOperands()" function returns the start register and the total
...
number of registers in the list.
llvm-svn: 118456
2010-11-08 23:49:57 +00:00
Dan Gohman
fbb44c4d74
Add some comments noting some correspondences between ModRefBehavior
...
values, LLVM IR function attributes, and LLVM intrinsic attributes.
llvm-svn: 118455
2010-11-08 23:46:02 +00:00
Nick Lewycky
6147891648
Don't lose track of previous-declarations when instantiating a class template.
...
Fixes PR8001.
llvm-svn: 118454
2010-11-08 23:29:42 +00:00
Owen Anderson
c7baee31ad
Add support for ARM's specialized vector-compare-against-zero instructions.
...
llvm-svn: 118453
2010-11-08 23:21:22 +00:00
Fariborz Jahanian
94ad274c24
Provide a precise builtin declaration for objc_msgSend
...
to avoid a bogus warning. Fixes //rdar: //8632525
llvm-svn: 118451
2010-11-08 22:53:18 +00:00
Johnny Chen
99adaf4cc1
Minor comment fix.
...
llvm-svn: 118450
2010-11-08 22:08:21 +00:00
Craig Silverstein
174241e9a0
1) Fix a typo in PPCallbacks: It's elif, not elfif. :-) This is
...
contentful, since the typo was in the method-name...
2) Clarify some comments in RecursiveASTVisitor.
llvm-svn: 118448
2010-11-08 21:43:51 +00:00
Bruno Cardoso Lopes
9c656fe815
Initial support for Mips32 and Mips32r2. Patch contributed by Akira Hatanaka (ahatanaka@mips.com)
...
llvm-svn: 118447
2010-11-08 21:42:32 +00:00
Bill Wendling
a91d02bc61
Add "write back" bit encoding.
...
llvm-svn: 118446
2010-11-08 21:28:03 +00:00
Bruno Cardoso Lopes
69ba1e9ccb
Fix PR8211
...
llvm-svn: 118445
2010-11-08 21:24:59 +00:00
Ted Kremenek
15c1e368bb
Add CursorVisitor::VisitBinaryOperator() to explicitly handle the case where we can blow out the stack due
...
to deeply nested BinaryOperators. This is done by turning the explicit recursion into being data recursive.
Fixes: <rdar://problem/8289205>
llvm-svn: 118444
2010-11-08 21:14:15 +00:00
Douglas Gregor
dc520b0f08
If an instance method messages is sending to an expression of type Class,
...
and we statically can compute a bound on the actual type (e.g.,
because it's a send to the the magic "class" instance method), code
complete as if we were performing a class message send to that class.
llvm-svn: 118443
2010-11-08 21:12:30 +00:00
Michael J. Spencer
023270e453
Remove contributor names as per coding statndard.
...
llvm-svn: 118442
2010-11-08 20:56:32 +00:00
Duncan Sands
52be6b41d3
Add an additional test for icmp of select folding.
...
llvm-svn: 118441
2010-11-08 20:56:28 +00:00
Dan Gohman
142ff82a18
Re-introduce the MaxLookup limit to BasicAliasAnalysis'
...
pointsToConstantMemory code to guard against possible
compile time slowdowns.
llvm-svn: 118440
2010-11-08 20:26:19 +00:00
Dan Gohman
2a9221793a
Add a testcase for a call which BasicAA says only accesses memory through
...
its arguments and which TBAA says doesn't write to memory.
llvm-svn: 118439
2010-11-08 20:20:11 +00:00
Johnny Chen
27f391be61
Better wording of the help text for the '-f testclass.testmethod' option usage.
...
llvm-svn: 118438
2010-11-08 20:17:04 +00:00
John McCall
f71b45367f
Document Clang's support for attributes on individual enumerators and
...
tweak the documentation for deprecation-with-message. Provide __has_feature
tests for both. rdar://problem/8605692
llvm-svn: 118435
2010-11-08 19:48:17 +00:00
Wesley Peck
fc82674b9c
Adding working version of assembly parser for the MBlaze backend
...
Major cleanup of whitespace and formatting issues in MBlaze backend
llvm-svn: 118434
2010-11-08 19:40:01 +00:00
Roman Divacky
b45d2672f7
Add a forgotten break. Found by Rafael Espindola!
...
llvm-svn: 118433
2010-11-08 19:39:10 +00:00
Dan Gohman
470ade12e0
Fix a thinko that Duncan spotted.
...
llvm-svn: 118430
2010-11-08 19:24:47 +00:00
Dale Johannesen
0ef474730f
Revert 118422 in search of bot verdancy.
...
llvm-svn: 118429
2010-11-08 19:17:22 +00:00
Argyrios Kyrtzidis
8566356acb
When building a compound literal, check that the base element of the array is complete.
...
Fixes rdar://8620582 & http://llvm.org/PR7905
llvm-svn: 118428
2010-11-08 19:14:19 +00:00
Johnny Chen
c06f422d73
Let's also emit the informational message for where to find the session logs for
...
failed/errored tests at the start of the test run, in case the test run crashes
for any reason. That way, it is easy to locate the session logs for accumulated
failures/errors.
llvm-svn: 118427
2010-11-08 19:03:37 +00:00
Fariborz Jahanian
086a24a2be
Fixes a rewrite bug, rewriting nested property usage
...
inside blocks. Fixes //rdar: //8608293.
llvm-svn: 118425
2010-11-08 18:37:50 +00:00
Devang Patel
c745320cf9
Document parameters. Fix typos.
...
llvm-svn: 118424
2010-11-08 18:28:34 +00:00
Andrew Trick
3528465232
Adds support for spilling previously allocated live intervals to
...
handle cases in which a register is unavailable for spill code.
Adds LiveIntervalUnion::extract. While processing interferences on a
live virtual register, reuses the same Query object for each
physcial reg.
llvm-svn: 118423
2010-11-08 18:02:08 +00:00
Jason W Kim
f3e224f830
Support -mcpu=cortex-a8 in ARM attributes - Has Fixme. 1 Test modified.
...
llvm-svn: 118422
2010-11-08 17:58:07 +00:00
Daniel Dunbar
8a3c3f2ad3
Fix typo.
...
llvm-svn: 118421
2010-11-08 17:53:02 +00:00
Roman Divacky
137426a42f
Use integrated-as for processing .s files on FreeBSD. Copied
...
from Linux/OpenBSD code.
llvm-svn: 118419
2010-11-08 17:46:39 +00:00
Douglas Gregor
bd6b17f4ef
Improve our handling of C++ [class.copy]p3, which specifies that a
...
constructor template will not be used to copy a class object to a
value of its own type. We were eliminating all constructor templates
whose specializations look like a copy constructor, which eliminated
important candidates. Fixes PR8182.
llvm-svn: 118418
2010-11-08 17:16:59 +00:00
Dan Gohman
2cd1fd4a82
Make FunctionAttrs TBAA-aware.
...
llvm-svn: 118417
2010-11-08 17:12:04 +00:00
Dan Gohman
601c94b309
Implement getModRefBehavior for TypeBasedAliasAnalysis.
...
llvm-svn: 118416
2010-11-08 17:10:22 +00:00
Johnny Chen
2ddfebd9af
Skipped due to rdar://problem/8641483 ./dotest.py -v -t -w forward seg faults.
...
llvm-svn: 118415
2010-11-08 16:53:27 +00:00
Ted Kremenek
14715b7f2f
Only enable the ObjCAtSyncChecker when the translation unit uses Objective-C.
...
llvm-svn: 118414
2010-11-08 16:52:54 +00:00
Jason W Kim
fc6b6bd5a6
Complete listing of ARM/MC/ELF relocation enums
...
llvm-svn: 118413
2010-11-08 16:47:27 +00:00
Dan Gohman
9130bad71f
Extend the AliasAnalysis::pointsToConstantMemory interface to allow it
...
to optionally look for constant or local (alloca) memory.
Teach BasicAliasAnalysis::pointsToConstantMemory to look through Select
and Phi nodes, and to support looking for local memory.
Remove FunctionAttrs' PointsToLocalOrConstantMemory function, now that
AliasAnalysis knows all the tricks that it knew.
llvm-svn: 118412
2010-11-08 16:45:26 +00:00
Dan Gohman
0b56778d65
Delete getIntrinsicModRefBehavior. Clients can just use the normal
...
getModRefBehavior now, since it now understands intrinsics as well
as normal functions.
llvm-svn: 118411
2010-11-08 16:11:19 +00:00
Dan Gohman
86449d705a
Make FunctionAttrs use AliasAnalysis::getModRefBehavior, now that it
...
knows about intrinsic functions.
llvm-svn: 118410
2010-11-08 16:10:15 +00:00
Dan Gohman
e461d7d135
Teach BasicAliasAnalysis::getModRefBehavior(const Function *F)
...
to analyze intrinsic functions.
llvm-svn: 118409
2010-11-08 16:08:43 +00:00
Dan Gohman
6cf44b0353
Add comments.
...
llvm-svn: 118408
2010-11-08 15:34:42 +00:00
Douglas Gregor
bcd625305b
When attempting reference binding to an overloaded function, also
...
consider that we might be trying to bind a reference to a class type,
which involves a constructor call. Fixes PR7425.
llvm-svn: 118407
2010-11-08 15:20:28 +00:00
Rafael Espindola
c5688628d8
Pass "-z relro" as two arguments. This works with both gnu ld and gold.
...
Patch by Frits van Bommel.
llvm-svn: 118406
2010-11-08 14:48:47 +00:00
Benjamin Kramer
a1c0efd38d
svn:ignore
...
llvm-svn: 118405
2010-11-08 10:52:42 +00:00