Dale Johannesen
dc0f124429
Propagate debug info in LegalizeFloatTypes.
...
Complete (modulo bugs).
llvm-svn: 63458
2009-01-31 00:43:08 +00:00
Dale Johannesen
42aa385e20
Propagate debug info. This file complete
...
(modulo bugs)
llvm-svn: 63457
2009-01-31 00:20:43 +00:00
Dale Johannesen
c910889511
Propagate debug info through MakeLibCall and a
...
couple of things that use it.
llvm-svn: 63456
2009-01-31 00:11:23 +00:00
Daniel Dunbar
34aa3ca8c4
x86_64 ABI: Retool classification to compute lo & hi classifications
...
in terms of where the type resides in the containing object. This is a
more clear embodiement of the spec & fixes a merging issue with
unions. Down to 3/1000 failures.
llvm-svn: 63455
2009-01-31 00:06:58 +00:00
Bill Wendling
31b50991cb
More DebugLoc propagation.
...
llvm-svn: 63454
2009-01-30 23:59:18 +00:00
Fariborz Jahanian
75e0351adb
Missed another mis-alignment of an objc2 meta-data.
...
llvm-svn: 63453
2009-01-30 23:51:52 +00:00
Bill Wendling
27d9dd4b57
More DebugLoc propagation.
...
llvm-svn: 63452
2009-01-30 23:36:47 +00:00
Bill Wendling
306bfc2213
More DebugLoc propagation in LOAD etc. methods.
...
llvm-svn: 63451
2009-01-30 23:27:35 +00:00
Douglas Gregor
576e98cc1e
Improve our handling of the second step in a user-defined conversion
...
sequence. Previously, we weren't permitting the second step to call
copy constructors, which left user-defined conversion sequences
surprisingly broken.
Now, we perform overload resolution among all of the constructors, but
only accept the result if it makes the conversion a standard
conversion. Note that this behavior is different from both GCC and EDG
(which don't agree with each other, either); I've submitted a core
issue on the matter.
llvm-svn: 63450
2009-01-30 23:27:23 +00:00
Anders Carlsson
f6e6057e92
Fix typo noticed by Chris.
...
llvm-svn: 63449
2009-01-30 23:26:40 +00:00
Dale Johannesen
9d7c69d832
Fix build on case-sensitive filesystems (i.e. everybody else)
...
llvm-svn: 63448
2009-01-30 23:20:42 +00:00
Anders Carlsson
db5a9b675c
Turn on -flax-vector-conversions by default, issue a warning whenever one is done. Add a -fnolax-vector-conversions option. Fixes PR2862.
...
llvm-svn: 63447
2009-01-30 23:17:46 +00:00
Bill Wendling
0bd29743e3
More DebugLoc propagation in floating-point methods.
...
llvm-svn: 63446
2009-01-30 23:15:49 +00:00
Fariborz Jahanian
e46e284efd
Setting correct alignent for objc2 meta-data.
...
llvm-svn: 63445
2009-01-30 23:15:42 +00:00
Dale Johannesen
555a375bb6
Make LowerCallTo and LowerArguments take a DebugLoc
...
argument. Adjust all callers and overloaded versions.
llvm-svn: 63444
2009-01-30 23:10:59 +00:00
Bill Wendling
6fbf5495f8
Standardize comments about folding xforms.
...
llvm-svn: 63443
2009-01-30 23:10:18 +00:00
Bill Wendling
8fb81f1b3d
Get rid of the non-DebugLoc-ified getNOT() method.
...
llvm-svn: 63442
2009-01-30 23:03:19 +00:00
Bill Wendling
3dc5d2454e
Propagate debug loc info for some FP arithmetic methods.
...
llvm-svn: 63441
2009-01-30 22:57:07 +00:00
Bill Wendling
cb9be5d174
Propagate debug loc info for some FP arithmetic methods.
...
llvm-svn: 63440
2009-01-30 22:53:48 +00:00
Bill Wendling
4e0a61514b
Propagate debug loc info for BIT_CONVERT.
...
llvm-svn: 63439
2009-01-30 22:44:24 +00:00
Daniel Dunbar
6a046c64d9
x86_64 ABI: Fix more thinkos, straddling computation for complex was
...
computing in bytes not bits. We are now down to 22/1000 failures on
the return types tests, and 18 of those are gcc bugs I believe.
llvm-svn: 63438
2009-01-30 22:40:15 +00:00
Bill Wendling
7bfa43b022
Propagate debug loc info for more *_EXTEND methods.
...
llvm-svn: 63437
2009-01-30 22:33:24 +00:00
Bill Wendling
9b3dc8d848
Propagate debug loc info for ANY_EXTEND.
...
llvm-svn: 63436
2009-01-30 22:27:33 +00:00
Douglas Gregor
d42a0fb41b
Upgrade the "excess elements in array initializer" warning to an
...
error, since both C99 and C++ consider it an error. For reference, GCC
makes this a warning while G++ makes it an error.
llvm-svn: 63435
2009-01-30 22:26:29 +00:00
Bill Wendling
c409318562
Propagate debug loc info for some of the *_EXTEND functions.
...
llvm-svn: 63434
2009-01-30 22:23:15 +00:00
Bill Wendling
cab9a2eef5
DebugLoc form of getNOT().
...
llvm-svn: 63433
2009-01-30 22:11:22 +00:00
Douglas Gregor
d14247a9e5
Implement and test aggregate initialization in C++. Major changes:
...
- Support initialization of reference members; complain if any
reference members are left uninitialized.
- Use C++ copy-initialization for initializing each element (falls
back to constraint checking in C)
- Make sure we diagnose when one tries to provide an initializer
list for a non-aggregate.
- Don't complain about empty initializers in C++ (they are permitted)
- Unrelated but necessary: don't bother trying to convert the
decl-specifier-seq to a type when we're dealing with a C++
constructor, destructor, or conversion operator; it results in
spurious warnings.
llvm-svn: 63431
2009-01-30 22:09:00 +00:00
Fariborz Jahanian
fa57e8e7ab
add imag_info section and data (for objc2 nonfragile abi).
...
llvm-svn: 63430
2009-01-30 22:07:48 +00:00
Bill Wendling
b6b6f46fe4
- Propagate debug loc info for SELECT.
...
- Added xform for (select X, 1, Y) and (select X, Y, 0), which was commented on,
but missing.
llvm-svn: 63428
2009-01-30 22:02:18 +00:00
Daniel Dunbar
c35dca92f5
x86_64 ABI: Fix thinko in prev commit, 64-bit vectors should have SSE
...
class, not integer.
llvm-svn: 63426
2009-01-30 21:50:20 +00:00
Bill Wendling
d51e3ff540
Propagate debug loc info for Shifts.
...
llvm-svn: 63424
2009-01-30 21:37:17 +00:00
Ted Kremenek
378e7fd330
Fix horrible non-termination bug in LiveVariables. The issue was that
...
the liveness state of block-level expressions could oscillate because
of two issues:
- The initial value before a merge was not always set to "Top"
- The set of live block-level expressions is a union, not an intersection
This fixes <rdar://problem/650084>.
llvm-svn: 63421
2009-01-30 21:35:30 +00:00
Bill Wendling
35972a9460
Propagate debug loc info for XOR and MatchRotate.
...
llvm-svn: 63420
2009-01-30 21:14:50 +00:00
Bill Wendling
f29b6e1318
Propagate debug loc info for OR. Also clean up some comments.
...
llvm-svn: 63419
2009-01-30 20:59:34 +00:00
Fariborz Jahanian
279abd31a9
Generate list of implemented classes and categories in their
...
own sections (related to objc2 nonfragile abi).
llvm-svn: 63418
2009-01-30 20:55:31 +00:00
Bill Wendling
ff8acd684f
Perform obvious constant arithmetic folding.
...
llvm-svn: 63417
2009-01-30 20:50:00 +00:00
Bill Wendling
8617191302
Propagate debug loc info for AND. Also clean up some comments.
...
llvm-svn: 63416
2009-01-30 20:43:18 +00:00
Chris Lattner
22b43cdc05
DiagnosticKinds.def is gone.
...
llvm-svn: 63415
2009-01-30 20:04:14 +00:00
Chris Lattner
1d63998135
memset takes an int, not a char.
...
llvm-svn: 63414
2009-01-30 20:03:59 +00:00
Daniel Dunbar
4d22eaeb44
x86_64 ABI: Pass <1 x double> in memory. This is arguably wrong, but
...
matches gcc 4.2 (not llvm-gcc).
llvm-svn: 63413
2009-01-30 19:38:39 +00:00
Ted Kremenek
0b0a64830a
Move method out-of-line.
...
llvm-svn: 63412
2009-01-30 19:27:39 +00:00
Bill Wendling
781db7a1ad
Propagate debug loc info in SimplifyBinOpWithSameOpcodeHands.
...
llvm-svn: 63411
2009-01-30 19:25:47 +00:00
Ted Kremenek
ce3f6818e1
Fix inverted logic in ParentMap::hasParent()
...
llvm-svn: 63410
2009-01-30 19:06:38 +00:00
Chris Lattner
83ab0a83f5
wire up -fno-show-source-location option, patch by Alexei Svitkine!
...
llvm-svn: 63409
2009-01-30 19:01:41 +00:00
Fariborz Jahanian
097feda5e0
Code gen. for @protocol expression in the new nonfragile abi.
...
llvm-svn: 63408
2009-01-30 18:58:59 +00:00
Chris Lattner
be70ced6a6
add testcase for PR3437 and r63405
...
llvm-svn: 63407
2009-01-30 18:49:16 +00:00
Daniel Dunbar
7da8d0b321
Remove testing -use-x86_64-abi option; current implementation is
...
robust enough for general use.
llvm-svn: 63406
2009-01-30 18:47:53 +00:00
Chris Lattner
d8cc884a36
avoid emitting a bogus line marker for the top level #include
...
location. We now -E a file containing "foo" into:
# 1 "t.c"
# 1 "t.c" 1
# 1 "<predefines>" 1
# 1 "t.c" 2
foo
instead of:
# 1 "t.c"
# 1 "t.c" 1
# 0 "t.c"
# 1 "<predefines>" 1
# 1 "t.c" 2
foo
llvm-svn: 63405
2009-01-30 18:44:17 +00:00
Daniel Dunbar
890c6b5520
x86_64 ABI: Split small vectors which cross an eightbyte boundary. Down to 33/500 return type failures.
...
llvm-svn: 63404
2009-01-30 18:40:10 +00:00
Gabor Greif
1933b00c12
use precise getters
...
llvm-svn: 63403
2009-01-30 18:27:21 +00:00