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
Greg Clayton
8363325962
<rdar://problem/13776113>
...
Dynamic type resolution not working for typedef's such as the __ptr_ member in the C++11 std::shared_ptr.
llvm-svn: 180818
2013-04-30 22:29:29 +00:00
Adrian Prantl
7e2b05c378
Do not generate VLAs as complex variables any more, as they are now
...
correctly represented as breg+0 locations in the backend.
(Paired commit with LLVM: r180815)
rdar://problem/13658587
llvm-svn: 180817
2013-04-30 22:17:36 +00:00
Adrian Prantl
9a576644e4
Change the informal convention of DBG_VALUE so that we can express a
...
register-indirect address with an offset of 0.
It used to be that a DBG_VALUE is a register-indirect value if the offset
(operand 1) is nonzero. The new convention is that a DBG_VALUE is
register-indirect if the first operand is a register and the second
operand is an immediate. For plain registers use the combination reg, reg.
rdar://problem/13658587
llvm-svn: 180816
2013-04-30 22:16:46 +00:00
Andrew Trick
dd77014acc
MI Sched: revert a minor heuristic that snuck in with -misched-vcopy.
...
I'll fix the heuristic in a general way in a follow-up commit.
llvm-svn: 180815
2013-04-30 22:10:59 +00:00
Sean Callanan
8d285ada3d
Added a test case verifying that simple C++
...
functions can be called by basename.
<rdar://problem/13709855>
llvm-svn: 180814
2013-04-30 22:05:15 +00:00
Chad Rosier
357672316b
[driver] Allow multiple -arch options with -save-temps by adding the arch name
...
to the temporary files.
rdar://13218604
llvm-svn: 180813
2013-04-30 22:01:21 +00:00
Jordan Rose
38c97d2642
[analyzer] scan-build: support -enable-checker with new Xcode integration.
...
<rdar://problem/13772094>
llvm-svn: 180812
2013-04-30 22:00:04 +00:00
Howard Hinnant
35abaab7d3
This patch introduces an alternative layout for basic_string which when the string is short, the data pointer will be word-aligned. It can be activated with -D_LIBCPP_ALTERNATE_STRING_LAYOUT. These two different layouts (the default and _LIBCPP_ALTERNATE_STRING_LAYOUT) are not ABI compatible with each other. Once one is chosen for a given platform, it is disruptive to change it.
...
llvm-svn: 180811
2013-04-30 21:44:48 +00:00
Sean Callanan
9b7005bf42
RegisterValues can now report their contents as
...
UInts even if their contents were set as bytes.
This makes expressions using registers work
better, especially with core files.
<rdar://problem/13743427>
llvm-svn: 180810
2013-04-30 21:41:44 +00:00
Richard Smith
e6c878c0c6
Revert r180739 and r180748: they broke C++11 thread_local on non-Darwin systems and did not do the right thing on Darwin.
...
Original commit message:
Emit the TLS intialization functions into a list.
Add the TLS initialization functions to a list of initialization functions. The
back-end takes this list and places the function pointers into the correct
section. This way they're called before `main().'
<rdar://problem/13733006>
llvm-svn: 180809
2013-04-30 21:34:13 +00:00
Richard Smith
061f1e21be
When deducing an 'auto' type, don't modify the type-as-written.
...
llvm-svn: 180808
2013-04-30 21:23:01 +00:00
Akira Hatanaka
9da442f506
[mips] Simplify code.
...
No intended functionality changes.
llvm-svn: 180807
2013-04-30 21:17:07 +00:00
Nadav Rotem
9feda6071a
Fix a typo
...
llvm-svn: 180806
2013-04-30 21:04:51 +00:00
Nadav Rotem
4b01c3a45d
Update the release notes about the min/max reductions that Arnold added.
...
llvm-svn: 180805
2013-04-30 21:04:04 +00:00
Akira Hatanaka
433de170ee
[mips] Test for r179873.
...
Patch by Zoran Jovanovic.
llvm-svn: 180804
2013-04-30 20:48:49 +00:00
Enrico Granata
82fabf89b4
<rdar://problem/13695846>
...
Enabling LLDB to write to variables that are stored in registers
Previously, this would not work since the Value's Context loses the notion of the data being in a register
We now store an "original" context that comes out of DWARF parsing, and use that context's data when attempting a write
llvm-svn: 180803
2013-04-30 20:45:04 +00:00
Jim Grosbach
0b914fe839
InstCombine: Fold more shuffles of shuffles.
...
Always fold a shuffle-of-shuffle into a single shuffle when there's only one
input vector in the first place. Continue to be more conservative when there's
multiple inputs.
rdar://13402653
PR15866
llvm-svn: 180802
2013-04-30 20:43:52 +00:00
Akira Hatanaka
84d6d9bdaa
[mips] Clear isCommutable bit of instructions which are not commutable.
...
llvm-svn: 180801
2013-04-30 20:40:39 +00:00