Douglas Gregor
a82064ca27
Check for deprecated/unavailable/etc attributes on fields that are
...
initialized via initializer lists. Fixes <rdar://problem/9694686>.
llvm-svn: 134099
2011-06-29 21:51:31 +00:00
Johnny Chen
8bae20f7f7
Add fuzz calls for SBTypeMember.
...
llvm-svn: 134098
2011-06-29 21:42:46 +00:00
Douglas Gregor
825faf7a4f
When redeclaring a local extern in the same scope, make sure that we
...
replace the existing declaration appropriately. Patch by Jordy Rose,
fixes PR10013 / <rdar://problem/9584157>.
llvm-svn: 134097
2011-06-29 21:22:02 +00:00
Johnny Chen
6999f86617
Add fuzz calls to SBType, SBValue, and SBValueList.
...
Fixed crashes for SBValue fuzz calls.
And change 'bool SBType::IsPointerType(void)' to
'bool SBType::IsAPointerType(void)' to avoid name collision with the static 'bool SBType::IsPointerType(void *)'
function, which SWIG cannot handle.
llvm-svn: 134096
2011-06-29 21:19:39 +00:00
Eric Christopher
1b8b9419ba
Remove getRegClassForInlineAsmConstraint from the ARM port.
...
Part of rdar://9643582
llvm-svn: 134095
2011-06-29 21:10:36 +00:00
Eric Christopher
03e756b93b
Remove todo.
...
llvm-svn: 134094
2011-06-29 21:05:54 +00:00
Rafael Espindola
ff218bd3fd
make compose and isMoveInstr static functions.
...
llvm-svn: 134093
2011-06-29 20:55:48 +00:00
Jim Grosbach
d86f34d631
Refactor away tSpill and tRestore pseudos in ARM backend.
...
The tSpill and tRestore instructions are just copies of the tSTRspi and
tLDRspi instructions, respectively. Just use those directly instead.
llvm-svn: 134092
2011-06-29 20:26:39 +00:00
Fariborz Jahanian
326701e2c7
objc-arc: fix a IRGen crash when checking for
...
accessibility of an initializer which is a compound
statement. // rdar://9694706
llvm-svn: 134091
2011-06-29 20:00:16 +00:00
Jim Ingham
20c771998b
Remove a few more places where we were iterating linearly over the Breakpoint Site's rather than
...
looking up what we needed by address, which is much faster.
llvm-svn: 134090
2011-06-29 19:42:28 +00:00
Eric Christopher
e449141788
Add a TODO for the Alpha port inline asm constraints.
...
llvm-svn: 134089
2011-06-29 19:41:27 +00:00
Eric Christopher
372a5c2a98
Move Alpha from getRegClassForInlineAsmConstraint to
...
getRegForInlineAsmConstraint.
Part of rdar://9643582
llvm-svn: 134088
2011-06-29 19:40:01 +00:00
Eric Christopher
eaf77dc2bd
Update comment for getRegForInlineAsmConstraint for Mips.
...
llvm-svn: 134087
2011-06-29 19:33:04 +00:00
Eric Christopher
dabd8a7bef
Move the Blackfin port away from getRegClassForInlineAsmConstraint by
...
creating a few specific register classes.
Part of rdar://9643582
llvm-svn: 134086
2011-06-29 19:30:29 +00:00
Eric Christopher
d0e48c84f0
Remove getRegClassForInlineAsmConstraint from MBlaze. Add a TODO comment
...
for the port.
Part of rdar://9643582
llvm-svn: 134085
2011-06-29 19:12:24 +00:00
Eric Christopher
9519c08a43
Remove getRegClassForInlineAsmConstraint for Mips.
...
Part of rdar://9643582
llvm-svn: 134084
2011-06-29 19:04:31 +00:00
Eric Christopher
ff740621f1
Remove getRegClassForInlineAsmConstraint from sparc.
...
Part of rdar://9643582
llvm-svn: 134083
2011-06-29 18:53:10 +00:00
Fariborz Jahanian
25e61c58bf
Use existing -fcatch-undefined-behavior option,
...
replacing -freset-local-blocks. // rdar://9227352
llvm-svn: 134082
2011-06-29 18:41:17 +00:00
Greg Clayton
626f4a13e3
Fixed an issue that was checked in with the dynamic types and update point
...
changes that caused all SBValue objects to completely ignore the target
lock due to bad C++ scoping of the target Mutex::Locker variables.
llvm-svn: 134081
2011-06-29 18:28:50 +00:00
Eric Christopher
790d882caa
Move XCore from getRegClassForInlineAsmConstraint to
...
getRegForInlineAsmConstraint.
Part of rdar://9643582
llvm-svn: 134080
2011-06-29 17:53:29 +00:00
Eric Christopher
7e5f2350d3
Use getRegForInlineAsmConstraint instead of custom defining regclasses
...
via vectors.
Part of rdar://9643582
llvm-svn: 134079
2011-06-29 17:23:50 +00:00
Evan Cheng
0ac49c6eab
Add missing operand. rdar://9694169
...
llvm-svn: 134078
2011-06-29 17:14:00 +00:00
Benjamin Kramer
0c14ce1dbf
Remove doxygen.cfg to prevent accidental commits, it is generated from doxygen.cfg.in.
...
llvm-svn: 134072
2011-06-29 16:22:39 +00:00
Chad Rosier
96ed721d9b
Temporarily revert r134057: "Let simplify cfg simplify bb with only debug and
...
lifetime intrinsics" due to buildbot failures.
llvm-svn: 134071
2011-06-29 16:22:11 +00:00
Bob Wilson
1957a2feb5
Use preferred 64-bit alignment for i64 & f64 for Thumb targets. Radar 9695134.
...
llvm-svn: 134070
2011-06-29 16:09:20 +00:00
Jim Grosbach
76346c3bf7
Asm parser range checking on .<size> <value> directives.
...
For example, ".byte 256" would previously assert() when emitting an object
file. Now it generates a diagnostic that the literal value is out of range.
rdar://9686950
llvm-svn: 134069
2011-06-29 16:05:14 +00:00
Benjamin Kramer
d2a84f6a63
Don't depend on the optimization reverted in r134067.
...
llvm-svn: 134068
2011-06-29 14:07:18 +00:00
Benjamin Kramer
8665f8d916
Revert a part of r126557 which could create unschedulable DAGs.
...
llvm-svn: 134067
2011-06-29 13:47:25 +00:00
David Chisnall
91f5b811ff
Make ARC support default to true. Please can we stop making Objective-C runtime features part of the platform description? This only makes sense for Darwin.
...
llvm-svn: 134066
2011-06-29 13:17:23 +00:00
David Chisnall
920e83b00b
Add ARC support for the GNUstep runtime.
...
llvm-svn: 134065
2011-06-29 13:16:41 +00:00
Francois Pichet
2ac15f4a5d
Change AsmName's type from StringRef to std::string. AsmName was pointing to a temporary string object that was destroyed. This is undefined behavior and MSVC didn't like it.
...
This fixes over 300+ failing tests on MSVC.
Credit for this fix goes to chapuni.
llvm-svn: 134064
2011-06-29 11:25:34 +00:00
Eli Friedman
4774b7e456
We don't pass classes with a copy-constructor or destructor byval, so the address takes up an integer register (if one is available). Make sure the x86-64 ABI implementation takes that into account properly.
...
The fixed implementation is compatible with the implementation both gcc and llvm-gcc use.
rdar://9686430 . (This is the issue that was reported in the thread "[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable".)
llvm-svn: 134059
2011-06-29 07:04:55 +00:00
Rafael Espindola
4c0dfcec7e
Let simplify cfg simplify bb with only debug and lifetime intrinsics.
...
llvm-svn: 134057
2011-06-29 05:25:47 +00:00
Enrico Granata
595ca06397
just a test for commit access - ignore this
...
llvm-svn: 134056
2011-06-29 04:18:11 +00:00
NAKAMURA Takumi
7e26682c71
Fix CMake build.
...
llvm-svn: 134055
2011-06-29 03:26:17 +00:00
Andrew Trick
efe2b1963d
indvars -disable-iv-rewrite: just because SCEV ignores casts doesn't
...
mean they can be removed.
llvm-svn: 134054
2011-06-29 03:13:40 +00:00
Jakob Stoklund Olesen
8628435c06
Revert r134047 while investigating a llvm-gcc-i386-linux-selfhost
...
miscompile.
llvm-svn: 134053
2011-06-29 02:03:36 +00:00
Evan Cheng
fbaa5b1077
Revert accidental commit.
...
llvm-svn: 134052
2011-06-29 01:23:25 +00:00
Evan Cheng
eeb486dda5
SubtargetFeature.h has been moved to MC.
...
llvm-svn: 134050
2011-06-29 01:14:32 +00:00
Evan Cheng
8264e272a9
Sink SubtargetFeature and TargetInstrItineraries (renamed MCInstrItineraries) into MC.
...
llvm-svn: 134049
2011-06-29 01:14:12 +00:00
Evan Cheng
6502f0094e
Trim include
...
llvm-svn: 134048
2011-06-29 00:35:31 +00:00
Jakob Stoklund Olesen
ffbc05b715
Rewrite RAGreedy::splitAroundRegion, now with cool ASCII art.
...
This function has to deal with a lot of special cases, and the old
version got it wrong sometimes. In particular, it would sometimes leave
multiple uses in the stack interval in a single block. That causes bad
code with multiple reloads in the same basic block.
The new version handles block entry and exit in a single pass. It first
eliminates all the easy cases, and then goes on to create a local
interval for the blocks with difficult interference. Previously, we
would only create the local interval for completely isolated blocks.
It can happen that the stack interval becomes completely empty because
we could allocate a register in all edge bundles, and the new local
intervals deal with the interference. The empty stack interval is
harmless, but we need to remove a SplitKit assertion that checks for
empty intervals.
llvm-svn: 134047
2011-06-29 00:24:24 +00:00
Johnny Chen
8ebed74e6e
Add fuzz calls for SBTarget and SBThread.
...
llvm-svn: 134046
2011-06-29 00:05:40 +00:00
Fariborz Jahanian
fc510bdd94
Under a compiler flag, -freset-local-blocks,
...
wipe out stack blocks when they go out of scope.
// rdar://9227352
llvm-svn: 134045
2011-06-28 23:51:26 +00:00
Johnny Chen
c74ed6b0de
Add fuzz calls for SBSymbol and SBSymbolContext.
...
llvm-svn: 134042
2011-06-28 23:38:38 +00:00
Daniel Dunbar
421bb42c9f
Revert r133024, "[format strings] correctly suggest correct type for '%@'
...
specifiers. Fixes <rdar://problem/9607158>." because it causes false positives
on some code that uses CF toll free bridging.
- I'll let Doug or Ted figure out the right fix here, possibly just to accept
any pointer type.
llvm-svn: 134041
2011-06-28 23:33:55 +00:00
Johnny Chen
dedd7d6ed6
Add fuzz calls for SBStringList and add obj.Clear() calls for some files.
...
llvm-svn: 134040
2011-06-28 23:29:14 +00:00
Chandler Carruth
8ea21dc2af
Update this test to reflect the new (deterministic) order in r134038.
...
This was part of Kaelyn's original patch that got dropped while I was
working on it, but after I ran my tests. =/ Sorry.
llvm-svn: 134039
2011-06-28 22:58:10 +00:00
Chandler Carruth
7d85c9b6b2
Fix non-determinism in selecting between equal-length names which refer
...
to the same declaration when correcting typos. This is done by
essentially sorting the corrections as they're added.
Original patch by Kaelyn Uhrain, but modified for style and correctness
by accounting for more than just the textual spelling.
This still is a bit of a WIP hack to make this deterministic. Kaelyn
(and myself) are working on a more principled solution going forward.
llvm-svn: 134038
2011-06-28 22:48:40 +00:00
Johnny Chen
a25bf6efb5
Add fuzz calls for SBModule and SBProcess.
...
llvm-svn: 134037
2011-06-28 22:32:15 +00:00