- Jul 15, 2014
-
-
Matt Arsenault authored
llvm-svn: 213025
-
Nick Lewycky authored
llvm-svn: 213024
-
Greg Clayton authored
Any commands that are executed through the public interface using SBCommandInterpreter::HandleCommand() are assumed to be in non-interactive mode. Any commands that want interactivity (stdin) will need to be executed through the normal command interpreter using the debugger's in/out/err file handles, or by using "command source". Individual commands through the API will have their STDIN disabled. The STDOUT and STDERR will be redirected into the SBCommandReturnObject argument to SBCommandInterpreter::HandleCommand() as usual. This helps with a deadlock situation in an IDE (Xcode) where the IDE was managing the breakpoint actions by setting a breakpoint callback and doing things manually. <rdar://problem/17386271> llvm-svn: 213023
-
Richard Smith authored
llvm-svn: 213022
-
Matt Arsenault authored
Check the individual test functions for more useful failure errors. llvm-svn: 213021
-
Andrea Di Biagio authored
This patch fixes a crasher in method 'DAGCombiner::visitOR' due to an invalid call to method 'isShuffleMaskLegal'. On x86, method 'isShuffleMaskLegal' always expects a legal vector value type in input. With this patch, we immediately check if the input OR dag node has a legal vector type; we only try to fold a OR dag node into a single shufflevector if we know that the resulting shuffle will have a legal type. This is to avoid calling method 'isShuffleMaskLegal' on a potentially illegal vector value type. Added a new test-case to file 'CodeGen/X86/combine-or.ll' to verify that DAGCombiner doesn't crash in the attempt to check/combine an OR between shuffles with illegal types. llvm-svn: 213020
-
Johannes Doerfert authored
+ Introduced dependency type TYPE_TC_RED to represent the transitive closure (& the reverse) of reduction dependences. These are used when we check for reduction parallel loops. + Test cases including loop reversals and modulo schedules which compute reductions in a alternated order. llvm-svn: 213019 -
Matt Arsenault authored
llvm-svn: 213018
-
Matt Arsenault authored
llvm-svn: 213017
-
David Majnemer authored
While we previously supported __uuidof applied to a template specialization, we would only find the uuid attribute if it was applied to the template argument. We would erroneously ignore the uuid attribute on the specialization itself. This is required to parse Windows Runtime C++ Template Library headers. llvm-svn: 213016
-
Alp Toker authored
It turns out this commit was fine. The problem was in the legacy build system (fixed r213010). This reverts commit r213005. llvm-svn: 213015
-
Alp Toker authored
It turns out this commit was fine. The problem was in the legacy build system (fixed r213010). This reverts commit r213008. llvm-svn: 213014
-
Richard Smith authored
llvm-svn: 213013
-
Lang Hames authored
reading MachO files magic numbers in RuntimeDyld. This is required now that we're testing cross-platform JITing (via RuntimeDyldChecker), and should fix some issues that David Fang has seen on PPC builds. llvm-svn: 213012
-
Adam Nemet authored
No functional change. The offsets for the other bitfields are specified symbolically. I need to increase the size for one of the earlier fields which is easier after this cleanup. Why these bits are relative to VEXShift is a bit strange but that is for another cleanup. I made sure that the values for the enums are unchanged after this change. llvm-svn: 213011
-
Alp Toker authored
llvm-svn: 213010
-
David Majnemer authored
Switch some things to use range-based for loops. Change CXXUuidofExpr::GetUuidAttrOfType's return type to be const. No functionality changed. llvm-svn: 213009
-
Alp Toker authored
Prospectively revert to get one of the many build configurations back working (presumably the side-by-side+modular CMake config). This reverts commit r212997. llvm-svn: 213008
-
Greg Clayton authored
<rdar://problem/17540766> llvm-svn: 213007
-
David Majnemer authored
COFF lacks a feature that other object file formats support: mergeable sections. To work around this, MSVC sticks constant pool entries in special COMDAT sections so that each constant is in it's own section. This permits unused constants to be dropped and it also allows duplicate constants in different translation units to get merged together. This fixes PR20262. Differential Revision: http://reviews.llvm.org/D4482 llvm-svn: 213006
-
Alp Toker authored
This broke one of the builds, presumably side-by-side modular CMake. Investigating. This reverts commit r212998. llvm-svn: 213005
-
Greg Clayton authored
<rdar://problem/17604133> llvm-svn: 213004
-
Kaelyn Takata authored
Otherwise, multiple errors such as having unknown identifiers for two arguments won't be diagnosed properly (e.g. only the first one would have a diagnostic message if typo correction fails even though both would be diagnosed if typo correction suggests a replacement). llvm-svn: 213003
-
Alp Toker authored
llvm-svn: 213002
-
Andrea Di Biagio authored
This patch teaches the DAGCombiner how to fold a pair of shuffles according to rules: 1. shuffle(shuffle A, B, M0), B, M1) -> shuffle(A, B, M2) 2. shuffle(shuffle A, B, M0), A, M1) -> shuffle(A, B, M3) The new rules would only trigger if the resulting shuffle has legal type and legal mask. Added test 'combine-vec-shuffle-3.ll' to verify that DAGCombiner correctly folds shuffles on x86 when the resulting mask is legal. Also added some negative cases to verify that we avoid introducing illegal shuffles. llvm-svn: 213001
-
Matt Arsenault authored
llvm-svn: 213000
-
Matt Arsenault authored
llvm-svn: 212999
-
Alp Toker authored
clang r212997 incorporated these settings into its own build system. They no longer need to be set from LLVM. llvm-svn: 212998
-
Alp Toker authored
llvm-svn: 212997
-
Alp Toker authored
llvm-svn: 212996
-
Alp Toker authored
llvm-svn: 212995
-
Alp Toker authored
llvm-svn: 212994
-
David Majnemer authored
This is just a helper routine, no functionality has changed. llvm-svn: 212993
-
Matt Arsenault authored
llvm-svn: 212992
-
David Majnemer authored
The underlying function. utohex_buffer, already supports an argument for deciding if the hex characters should be upper or lower case. Expose an identical argument for utohexstr. llvm-svn: 212991
-
Sanjay Patel authored
llvm-svn: 212990
-
Ben Langmuir authored
The attempt in r212980 was broken because we might not fail if LLVM_ON_UNIX is enabled for cross compiling to Windows, and it didn't consider mingw either. llvm-svn: 212989
-
Joerg Sonnenberger authored
llvm-svn: 212987
-
Justin Bogner authored
Until now, attempting to create an alias of a required option would complain if the user supplied the alias, because the required option didn't have a value. Similarly, if you said the alias was required, then using the base option would complain that the alias wasn't supplied. Lastly, if you put required on both, *neither* option would work. By changning alias to overload addOccurrence and setting cl::Required on the original option, we can get this to behave in a more useful way. I've also added a test and updated a user that was getting this wrong. llvm-svn: 212986
-
David Majnemer authored
@icmp_sdiv_neg1 should have referred to %a instead of %call, it was renamed at the last second. llvm-svn: 212983
-