Daniel Dunbar
4cd55b0507
Don't install wpa or index-test tools.
...
llvm-svn: 79557
2009-08-20 18:45:52 +00:00
Owen Anderson
d2354b8cc5
Make the StructType->StructLayout table private to TargetData, allowing us to avoid locking on it.
...
llvm-svn: 79555
2009-08-20 18:26:03 +00:00
Sean Callanan
46bb77f2cf
Fixed PCMPESTRM128 to have opcode 0x60 instead of 0x62, as specified by the
...
Intel documentation.
llvm-svn: 79554
2009-08-20 18:24:27 +00:00
Dan Gohman
05046085b6
Fix an x86 code size regression: prefer RIP-relative addressing
...
over absolute addressing even in non-PIC mode (unless the address
has an index or something else incompatible), because it has a
smaller encoding.
llvm-svn: 79553
2009-08-20 18:23:44 +00:00
Sanjiv Gupta
b841d1baa1
Issue an error if the user specifies parameters in a function marked as ISR.
...
llvm-svn: 79544
2009-08-20 17:48:52 +00:00
Dan Gohman
e392e6236d
Add a comment explaining why llvm_unreachable_internal doesn't call
...
the ErrorHandler callback.
llvm-svn: 79541
2009-08-20 17:15:19 +00:00
Daniel Dunbar
bf5998edfb
Fix two APFloat bugs in converting hexadecimal constants.
...
llvm-svn: 79540
2009-08-20 17:12:33 +00:00
Dan Gohman
16f5415f5b
Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap
...
and hasNoSignedWrap, for consistency with the nuw and nsw properties.
llvm-svn: 79539
2009-08-20 17:11:38 +00:00
Dan Gohman
2de532c132
Clarify a few things in the inbounds description.
...
Describing inbounds in terms of infinitely precise arithmetic prohibits
the assumption address-space-sized integer arithmetic will wrap, with
a wrapped-around value landing within the same object.
llvm-svn: 79538
2009-08-20 17:08:17 +00:00
Fariborz Jahanian
9a84665921
Using "ObjCImplicitSetterGetterRefExpr" instead of "ObjCImplctSetterGetterRefExpr".
...
A field rename and more comments.
llvm-svn: 79537
2009-08-20 17:02:02 +00:00
Misha Brukman
5851edb13e
Fixed header comment.
...
llvm-svn: 79536
2009-08-20 17:01:14 +00:00
Evan Cheng
01de985ae6
Fix an obvious copy-n-paste bug.
...
llvm-svn: 79535
2009-08-20 17:01:04 +00:00
Dale Johannesen
d16abc09c4
Use FileCheck for the test run where it's appropriate.
...
llvm-svn: 79534
2009-08-20 16:58:04 +00:00
Dan Gohman
8a8ad7d8e8
Various comment and whitespace cleanups.
...
llvm-svn: 79533
2009-08-20 16:42:55 +00:00
Dan Gohman
f91a992c30
Update and fix some comments.
...
llvm-svn: 79532
2009-08-20 16:27:10 +00:00
Benjamin Kramer
33599115ab
Add myself to the blame list.
...
llvm-svn: 79531
2009-08-20 15:20:15 +00:00
Sandeep Patel
ab7a751889
Correct ARM v7-A architecture name spelling and add note about hard float.
...
llvm-svn: 79530
2009-08-20 15:01:16 +00:00
Mike Stump
cae6178b3b
Refine vbase offsets for the inductive case. Things are now starting
...
to come together nicely. Still a WIP.
llvm-svn: 79521
2009-08-20 07:22:17 +00:00
John McCall
950aac085d
Add syntax examples for the friend declaration types.
...
Remove an assert trivialized by dominating code.
llvm-svn: 79520
2009-08-20 07:19:42 +00:00
Douglas Gregor
ebe1010b0f
Refactor the instantiation of statements into a generic tree
...
transformation.
llvm-svn: 79519
2009-08-20 07:17:43 +00:00
Chris Lattner
f6bad8690f
Improve the Getting Started and Hacking web pages, patch by
...
John Thompson!
llvm-svn: 79518
2009-08-20 06:17:11 +00:00
Ted Kremenek
815fbb6026
retain/release checker: Treat NSObject method '-awakeAfterUsingCoder:'
...
just as if it behaved like an init function. This fixes <rdar://problem/7129086>.
llvm-svn: 79515
2009-08-20 05:13:36 +00:00
Daniel Dunbar
4d28366342
Don't try to build .bc version of libprofile if LLVMGCC isn't available.
...
llvm-svn: 79514
2009-08-20 05:12:55 +00:00
Erick Tryzelaar
bef7f98896
Rename FirstExtendedValueType to INVALID_SIMPLE_VALUE_TYPE
...
as that's a bit more descriptive of what we're testing for.
llvm-svn: 79513
2009-08-20 05:09:43 +00:00
Daniel Dunbar
c2fdebe8af
Remove cruft for installing runtime/ libraries directly into the LLVMGCCDIR;
...
that is totally bogus.
llvm-svn: 79512
2009-08-20 05:02:41 +00:00
Ted Kremenek
e95b439cc3
Make this test case more portable by removing its dependency on system header files.
...
llvm-svn: 79511
2009-08-20 04:48:23 +00:00
Eli Friedman
629ffb9ad3
Fix bit-field promotion to be a bit closer to the behavior of gcc.
...
Patch by Enea Zaffanella, with some simplifications/corrections to
isPromotableBitField by me.
llvm-svn: 79510
2009-08-20 04:21:42 +00:00
Zhongxing Xu
1a3ec57520
If the 'while' has an empty body, set the body to the continue target block.
...
Although this does not make the CFG more correct, it makes the CFG more
beautiful without multiple roots.
llvm-svn: 79509
2009-08-20 03:21:49 +00:00
Chris Lattner
f6bb2a79f2
fix this back, thanks Eli
...
llvm-svn: 79508
2009-08-20 03:10:14 +00:00
Zhongxing Xu
a778b02e89
If the body of for loop is empty, set its body to the continue target.
...
Otherwise we get a wrong CFG.
llvm-svn: 79507
2009-08-20 02:56:48 +00:00
Mike Stump
2220447adc
Ensure we don't output repeated vbase offsets. I have a testcase for
...
this, but need to fixup the actual offset value before I can check it
in. WIP.
llvm-svn: 79506
2009-08-20 02:11:48 +00:00
Dan Gohman
61fcf3d8fe
Add some comments clarifying what appear to be the intent of various
...
error handling mechanisms. Please correct these if I've misunderstood
something.
llvm-svn: 79505
2009-08-20 01:46:24 +00:00
John McCall
87a44eb98a
Basic nested-template implementation.
...
llvm-svn: 79504
2009-08-20 01:44:21 +00:00
Dan Gohman
30584ea4a4
Reword a few comments for AnalyzeBranch and InsertBranch, and fix
...
a few typos.
llvm-svn: 79503
2009-08-20 01:33:25 +00:00
Zhongxing Xu
068928b2a6
Rename: ProgramPoint::getContext() => ProgramPoint::getLocationContext().
...
llvm-svn: 79502
2009-08-20 01:23:34 +00:00
Jim Grosbach
8b4d51af58
Check for shared landing pads when assigning call site values. Invokes which
...
share a landing pad should also use the same call site value.
llvm-svn: 79501
2009-08-20 01:03:48 +00:00
Fariborz Jahanian
dd46eb770f
Test case for my last patch plus a minor clean up.
...
llvm-svn: 79500
2009-08-20 01:01:06 +00:00
Ted Kremenek
d982f001c9
retain/release checker: Special case handling of CFAttributedStringSetAttribute,
...
fixing <rdar://problem/7152619>. Along the way, merge test cases in
'test/Analysis/rdar-6539791.c' into 'test/Analysis/retain-release.m'.
llvm-svn: 79499
2009-08-20 00:57:22 +00:00
Chris Lattner
2689c3be01
minor grammar tweak
...
llvm-svn: 79498
2009-08-20 00:29:24 +00:00
Fariborz Jahanian
eeb0e57247
ir-gen for multi-dimensional array construction. WIP.
...
llvm-svn: 79497
2009-08-20 00:15:15 +00:00
Ted Kremenek
eebcf574dd
Enhance diagnostics concerning attribute 'ns_returns_retained' and 'cf_returns_retained' to present the range of the attribute and have the diagnostic location be the declaration that the attribute was falsely attached to. This solves the problem where these diagnostics were being suppressed when these attributes were wrapped in a macro that was defined in a system header.
...
llvm-svn: 79496
2009-08-19 23:56:48 +00:00
Dale Johannesen
aec3830ce7
Add an extra line to conform with preferred style.
...
llvm-svn: 79495
2009-08-19 23:44:01 +00:00
Reid Kleckner
5c51639e3e
Modify an assert to avoid what looks like a GCC 4.2.4 signed-ness bug.
...
llvm-svn: 79494
2009-08-19 23:39:59 +00:00
Dan Gohman
7167f42769
Fix a few places to check if TargetData is available before using it.
...
llvm-svn: 79493
2009-08-19 23:38:22 +00:00
Daniel Dunbar
cb13b48969
Add a fast path for setName("") on an unnamed value.
...
llvm-svn: 79492
2009-08-19 23:37:23 +00:00
Dan Gohman
463d3407e2
Loosen up the regex for this test so that it doesn't implicitly
...
depend on TargetData information.
llvm-svn: 79491
2009-08-19 23:19:36 +00:00
Dan Gohman
6e32e5cf0c
Add targetdata strings to these tests, since SimplifyLibCalls uses
...
TargetData to find the pointer size.
llvm-svn: 79490
2009-08-19 23:18:49 +00:00
Argyrios Kyrtzidis
20cf19141f
Keep track of the right paren ')' source location in a function declarator.
...
llvm-svn: 79489
2009-08-19 23:14:54 +00:00
Tanya Lattner
da94af763b
Update the release process some more. Lots of good details now.
...
llvm-svn: 79488
2009-08-19 23:07:37 +00:00
David Greene
62b666f0b8
Remove an unnecessary include. Now we won't have circular include
...
problems later on.
llvm-svn: 79487
2009-08-19 23:00:07 +00:00