Ashok Thirumurthi
0f3b9b819a
Build fixes for FreeBSD 9.1.
...
- TODO: Support extended register sets on FreeBSD.
Patch by Samuel Jacob.
llvm-svn: 180879
2013-05-01 20:38:19 +00:00
Ashok Thirumurthi
e4a862f794
Platform-specific specialization for the GPR register file.
...
- Required for platform-independant handling of general purpose registers (i.e. for core dumps).
Thanks to Samuel Jacob for this patch.
llvm-svn: 180878
2013-05-01 20:17:59 +00:00
Chad Rosier
bc668b0642
Fix typo in FileCheck.
...
llvm-svn: 180877
2013-05-01 20:10:14 +00:00
Ashok Thirumurthi
fa6e1f94a4
Refactored convenience register tests to provide some coverage on Linux that is not marked xfail.
...
- Also minor improvements to the comments and the expected results.
llvm-svn: 180876
2013-05-01 20:07:13 +00:00
Nadav Rotem
1e211913b5
SROA: Generate selects instead of shuffles when blending values because this is the cannonical form.
...
Shuffles are more difficult to lower and we usually don't touch them, while we do optimize selects more often.
llvm-svn: 180875
2013-05-01 19:53:30 +00:00
Chad Rosier
368ec9eafc
[inline asm] Add a test case for r180873. Test case needs to be on the clang
...
side because we need an inline asm diagnostics handler in place. Unfortunately,
we emit a .s file because we need to build the SelectionDAG to hit the backend
issue.
rdar://13446483
llvm-svn: 180874
2013-05-01 19:50:45 +00:00
Chad Rosier
8e4824f350
[inline asm] Return an undef SDValue of the expected value type, rather than
...
report a fatal error. This allows us to continue processing the translation
unit. Test case to come on the clang side because we need an inline asm
diagnostics handler in place.
rdar://13446483
llvm-svn: 180873
2013-05-01 19:49:26 +00:00
Shankar Easwaran
6e1f5b7d1a
[lld][ELF] reduce the number of symbols emitted in the symbol table
...
llvm-svn: 180872
2013-05-01 19:36:38 +00:00
Nadav Rotem
e5a2dda372
Optimize away nop CONCAT_VECTOR nodes.
...
Optimize CONCAT_VECTOR nodes that merge EXTRACT_SUBVECTOR values that extract from the same vector.
rdar://13402653
PR15866
llvm-svn: 180871
2013-05-01 19:18:51 +00:00
Daniel Malea
7f3859538f
Revert 180829 as it causes hangs in TestTypeCompletion.py on 2 Linux buildbots:
...
http://lab.llvm.org:8011/builders/lldb-x86_64-linux/builds/3810
http://lab.llvm.org:8011/builders/lldb-x86_64-debian-clang/builds/2754
llvm-svn: 180870
2013-05-01 19:14:30 +00:00
Aaron Ballman
c8aefe43ed
Updating the getting started guide for Visual Studio users. Specifically, pointing out that you have to pass additional parameters to llvm-lit and explicitly specify python on the command line.
...
llvm-svn: 180869
2013-05-01 19:13:50 +00:00
Daniel Malea
54e39db805
Reverting 180831 as it crashes TestDefaultConstructorForAPIObjects.py
...
llvm-svn: 180868
2013-05-01 19:11:56 +00:00
Richard Smith
df6bee8081
Fix spurious trailing comma when printing some of the __c11_atomic_* builtins. Patch by Joe Sprowes!
...
llvm-svn: 180867
2013-05-01 19:02:43 +00:00
Richard Smith
9f8400eca4
PR15884: In the 'taking the address of a temporary' extension, materialize the
...
temporary to an lvalue before taking its address. This removes a weird special
case from the AST representation, and allows the constant expression evaluator
to deal with it without (broken) hacks.
llvm-svn: 180866
2013-05-01 19:00:39 +00:00
Jordan Rose
dc16628c93
Re-apply "[analyzer] Model casts to bool differently from other numbers."
...
This doesn't appear to be the cause of the slowdown. I'll have to try a
manual bisect to see if there's really anything there, or if it's just
the bot itself taking on additional load. Meanwhile, this change helps
with correctness.
This changes an assertion and adds a test case, then re-applies r180638,
which was reverted in r180714.
<rdar://problem/13296133> and PR15863
llvm-svn: 180864
2013-05-01 18:19:59 +00:00
Fariborz Jahanian
1a658edfef
Fix buildbot yet again. // rdar://13757500.
...
llvm-svn: 180863
2013-05-01 17:58:21 +00:00
Fariborz Jahanian
0a50662f8b
attempt to fix the buildbot failure.
...
llvm-svn: 180861
2013-05-01 17:47:05 +00:00
Fariborz Jahanian
9e0758442e
[ObjC declaration documentation] declaration of
...
types involving Objective-C pointers must have
their arc qualifiers elided as they don't
add any additional info. // rdar://13757500.
llvm-svn: 180860
2013-05-01 17:28:37 +00:00
Aaron Ballman
a69c905756
As of r180836, these tests should no longer be XFAILed on Windows.
...
llvm-svn: 180853
2013-05-01 15:16:52 +00:00
Peng Cheng
712fbb50ab
get rid of windows warning:
...
warning C4946: reinterpret_cast used between related classes
llvm-svn: 180852
2013-05-01 15:04:18 +00:00
Peng Cheng
d4b816d51c
get rid of windows warning:
...
warning C4800: forcing value to bool 'true' or 'false' (performance warning)
llvm-svn: 180851
2013-05-01 15:00:07 +00:00
Peng Cheng
9f3bc6cd35
replace reinterpret_cast by cast or remove reinterpret_cast to get rid of windows warning: warning C4946: reinterpret_cast used between related classes.
...
llvm-svn: 180850
2013-05-01 14:54:01 +00:00
Peng Cheng
a68ab7c9f6
fix windows warning.
...
warning C4244: 'argument' : conversion from 'uint64_t' to 'const unsigned int', possible loss of data
llvm-svn: 180847
2013-05-01 14:18:06 +00:00
Peng Cheng
3171a924be
use static_cast to get rid of windows warning.
...
warning C4244: 'argument' : conversion from 'uint64_t' to 'const unsigned int', possible loss of data
llvm-svn: 180846
2013-05-01 14:07:02 +00:00
Rafael Espindola
cbf5a7ad06
Now that the underlying issue is fixed, revert r180750 and r180722.
...
The cause of the windows failures was fixed by r180791. Revert to the state
after Sabre's original revert.
Original message:
revert r179735, it has no testcases, and doesn't really make sense.
llvm-svn: 180844
2013-05-01 13:07:03 +00:00
Nikola Smiljanic
39354b3263
Fix spelling
...
llvm-svn: 180843
2013-05-01 13:05:43 +00:00
Rafael Espindola
817c1d92b4
Put VMOVPQIto64rr in the VRPDI class.
...
Patch by Joshua Magee.
llvm-svn: 180842
2013-05-01 13:00:16 +00:00
Jason Molenda
59d55219cf
Change CommandReturnObject::AppendMessage to print an empty line if
...
AppendMessage("") is called. This idiom is used in a handful of places
right now (e.g. to put space between different threads in 'bt all') but
the empty newline is being omitted instead of emitted.
<rdar://problem/13753830>
llvm-svn: 180841
2013-05-01 08:37:52 +00:00
Duncan Sands
b5a0fec4de
Correct comment: there is no numTys parameter any more now that this is using
...
ArrayRef.
llvm-svn: 180840
2013-05-01 07:54:55 +00:00
Filip Pizlo
547ea91b1d
Wrap some lines to bring MCJITCAPITest into conformance with the 80 column limit.
...
llvm-svn: 180839
2013-05-01 06:46:59 +00:00
Michael Liao
f7f33ed31e
Forget remove the tempfile argument
...
llvm-svn: 180838
2013-05-01 05:45:57 +00:00
Michael Liao
bc793a775e
More rewrites of x86 codegen regression tests with FileCheck
...
llvm-svn: 180837
2013-05-01 05:34:30 +00:00
Aaron Ballman
fd86e16dbd
Fixes a buffer overrun where the allocated buffer wasn't large enough to accommodate the closing quote escape rules in some instances.
...
llvm-svn: 180836
2013-05-01 02:53:14 +00:00
Jason Molenda
64dd73e5e1
Print a backtrace line for a pc value even if we can't make an SBAddress
...
out of it.
llvm-svn: 180835
2013-05-01 01:26:52 +00:00
Jim Grosbach
d11584a7f7
Revert "InstCombine: Fold more shuffles of shuffles."
...
This reverts commit r180802
There's ongoing discussion about whether this is the right place to make
this transformation. Reverting for now while we figure it out.
llvm-svn: 180834
2013-05-01 00:25:27 +00:00
Argyrios Kyrtzidis
bcf2bdc922
Point diagnostics that complain about a use of a selector in an objc message, to the selector location.
...
Previously it would point to the left bracket or the receiver, which can be particularly
problematic if the receiver is a block literal and we end up point the diagnostic far away
for the selector that is complaining about.
rdar://13620447
llvm-svn: 180833
2013-05-01 00:24:09 +00:00
Sean Callanan
99c272d3eb
TestCallCPPFunction is an expected failure on
...
Linux; marking as such.
llvm-svn: 180832
2013-04-30 23:52:02 +00:00
Jim Ingham
a23f73dbbc
Added an option to "process detach" to keep the process stopped, if the process plugin (or in the
...
case of ProcessGDBRemote the stub we are talking to) know how to do that.
rdar://problem/13680832
llvm-svn: 180831
2013-04-30 23:46:08 +00:00
Jim Ingham
3ca3cd1ed7
Add an option to resume a suspended task.
...
llvm-svn: 180830
2013-04-30 23:43:52 +00:00
Jim Ingham
2d386b35eb
Make "process handle -n true -s false" actually notifies of the signal.
...
rdar://problem/12020085
llvm-svn: 180829
2013-04-30 23:42:24 +00:00
Andrew Kaylor
9f6c535b0d
Refactoring thread state tests to show individual failures
...
llvm-svn: 180828
2013-04-30 23:39:14 +00:00
Akira Hatanaka
4254319ef9
[mips] Fix handling of instructions which copy to/from accumulator registers.
...
Expand copy instructions between two accumulator registers before callee-saved
scan is done. Handle copies between integer GPR and hi/lo registers in
MipsSEInstrInfo::copyPhysReg. Delete pseudo-copy instructions that are not
needed.
llvm-svn: 180827
2013-04-30 23:22:09 +00:00
Jason Molenda
14c84cdb9c
Put a try/catch block around the SBAddress setting; don't want to
...
terminate the command early if we happen to have an invalid load
address.
llvm-svn: 180826
2013-04-30 23:03:56 +00:00
Stephen Lin
699808ceb2
Only pass 'returned' to target-specific lowering code when the value of entire register is guaranteed to be preserved.
...
llvm-svn: 180825
2013-04-30 22:49:28 +00:00
Richard Trieu
624c2ebcbb
Fix a use after free. RI is freed before the call to getDebugLoc(). To
...
prevent this, capture the location before RI is freed.
llvm-svn: 180824
2013-04-30 22:45:10 +00:00
Adrian Prantl
ab067ae8b0
Revert 180817 because 180816 was reverted.
...
llvm-svn: 180823
2013-04-30 22:45:09 +00:00
Richard Smith
3b87038631
Fix PR15845: apparently MSVC does not support implicit int in C++ mode.
...
llvm-svn: 180822
2013-04-30 22:43:51 +00:00
Jason Molenda
cc6dc78046
Make the warning message about not finding the kernel binary clearer
...
about which kernel binary lldb is referring to.
llvm-svn: 180821
2013-04-30 22:38:28 +00:00
Akira Hatanaka
68741cc38d
[mips] Instruction selection patterns for DSP-ASE vector select and compare
...
instructions.
llvm-svn: 180820
2013-04-30 22:37:26 +00:00
Adrian Prantl
a2888e71eb
Temporarily revert "Change the informal convention of DBG_VALUE so that we can express a"
...
because it breaks some buildbots.
This reverts commit 180816.
llvm-svn: 180819
2013-04-30 22:35:14 +00:00