- Sep 21, 2013
-
-
Arnold Schwaighofer authored
llvm-svn: 191135
-
David Majnemer authored
Allow binutils .type and .section directives to take the following forms: - @<type> - %<type> - "<type>" llvm-svn: 191134
-
Juergen Ributzka authored
llvm-svn: 191133
-
Dmitry Vyukov authored
see the comment in code llvm-svn: 191132
-
Juergen Ributzka authored
In AVX 256bit vectors are valid vectors and therefore the Type Legalizer doesn't split the VSELECT and SETCC nodes. AVX only supports MIN/MAX on 128bit vectors and this fix enables vector splitting for this special case in the X86 DAG Combiner. This fix is related to PR16695, PR17002, and <rdar://problem/14594431>. llvm-svn: 191131
-
Juergen Ributzka authored
The Type Legalizer recognizes that VSELECT needs to be split, because the type is to wide for the given target. The same does not always apply to SETCC, because less space is required to encode the result of a comparison. As a result VSELECT is split and SETCC is unrolled into scalar comparisons. This commit fixes the issue by checking for VSELECT-SETCC patterns in the DAG Combiner. If a matching pattern is found, then the result mask of SETCC is promoted to the expected vector mask for the given target. This mask has usually te same size as the VSELECT return type (except for Intel KNL). Now the type legalizer will split both VSELECT and SETCC. This allows the following X86 DAG Combine code to sucessfully detect the MIN/MAX pattern. This fixes PR16695, PR17002, and <rdar://problem/14594431>. llvm-svn: 191130
-
Dmitry Vyukov authored
llvm-svn: 191129
-
NAKAMURA Takumi authored
This can revert r191087. llvm-svn: 191128
-
Howard Hinnant authored
llvm-svn: 191127
-
Howard Hinnant authored
llvm-svn: 191126
-
Reed Kotler authored
llvm-svn: 191125
-
Petar Jovanovic authored
A patch to AllocateTarget function to recognize llvm::Triple::NaCl for MIPSEL and return NaClTargetInfo. Additional test has been added to check if the expected macros get defined. llvm-svn: 191124
-
Arnold Schwaighofer authored
Reapply r191108 with a fix for a memory corruption error I introduced. Of course, we can't reference the scalars that we replace by vectorizing and then call their eraseFromParent method. I only 'needed' the scalars to get the DebugLoc. Just store the DebugLoc before actually vectorizing instead. As a nice side effect, this also simplifies the interface between BoUpSLP and the HorizontalReduction class to returning a value pointer (the vectorized tree root). radar://14607682 llvm-svn: 191123
-
Nadav Rotem authored
LoopVectorizer: Only allow vectorization of intrinsics. We can't know for sure that the functions 'abs' or 'round' are the functions from libm. rdar://15012650 llvm-svn: 191122
-
Arnold Schwaighofer authored
This reverts commit r191108. The horizontal.ll test case fails under libgmalloc. Thanks Shuxin for pointing this out to me. llvm-svn: 191121
-
Eli Friedman authored
PR17300. llvm-svn: 191120
-
Eric Christopher authored
info finalization to greatly reduce the number of fixups that the assembler has to handle in order to improve compile time. llvm-svn: 191119
-
Shuxin Yang authored
The problem of r191017 is that when GVN fabricate a val-number for a dead instruction (in order to make following expr-PRE happy), it forget to fabricate a leader-table entry for it as well. llvm-svn: 191118
-
Jim Grosbach authored
Clean up some simple code quality issues. Bring internal naming conventions up to current standard, fix inconsistent formatting, and tidy up a couple of odd contructs. llvm-svn: 191117
-
Virgile Bello authored
llvm-svn: 191116
-
Virgile Bello authored
llvm-svn: 191115
-
Virgile Bello authored
llvm-svn: 191114
-
Eric Christopher authored
to further work. llvm-svn: 191113
-
Benjamin Kramer authored
llvm-svn: 191112
-
Andrew Kaylor authored
Patch by Dimitry Andric llvm-svn: 191111
-
- Sep 20, 2013
-
-
Matt Kopec authored
Change posix thread so that it creates a breakpoint stop reason if the breakpoint isn't valid for the current thread but specify should stop to false. Also remove selecting a thread on a breakpoint hit. llvm-svn: 191110
-
Akira Hatanaka authored
I cannot think of a test case that reliably triggers this bug. llvm-svn: 191109
-
Arnold Schwaighofer authored
Match reductions starting at binary operation feeding into a phi. The code handles trees like r += v1 + v2 + v3 ... and r += v1 r += v2 ... and r *= v1 + v2 + ... We currently only handle associative operations (add, fadd fast). The code can now also handle reductions feeding into stores. a[i] = v1 + v2 + v3 + ... The code is currently disabled behind the flag "-slp-vectorize-hor". The cost model for most architectures is not there yet. I found one opportunity of a horizontal reduction feeding a phi in TSVC (LoopRerolling-flt) and there are several opportunities where reductions feed into stores. radar://14607682 llvm-svn: 191108
-
Chandler Carruth authored
is no need to go through the driver indirection here, and it clutters things up as dependencies can sneak in for specific things the driver is doing. llvm-svn: 191107
-
Joerg Sonnenberger authored
llvm-svn: 191106
-
Joerg Sonnenberger authored
llvm-svn: 191105
-
Joerg Sonnenberger authored
llvm-svn: 191104
-
Richard Smith authored
so the Index in/out parameters are pointless (always passed in as 0, always ignored by the caller). llvm-svn: 191103
-
Ashok Thirumurthi authored
Specifically, allows the unwinder to handle the case where sc.function gets resolved with a pc that is one past the address range of the function (consistent with a tail call). However, there is no matching symbol. Adds eSymbolContextTailCall to provide callers with control over the scope of symbol resolution and to allow ResolveSymbolContextForAddress to handle tail calls since this routine is common to unwind and disassembly. llvm-svn: 191102
-
Ashok Thirumurthi authored
with the closest available 32-bit floating point representation. llvm-svn: 191101
-
Tareq A. Siraj authored
--gtest_filter was filtering an invalid name for the test. Differential Revision: http://llvm-reviews.chandlerc.com/D1733 llvm-svn: 191100
-
Hans Wennborg authored
This solves the problem of fallback onto ourselves if clang-cl has been renamed to cl.exe and put on the PATH, as happens with the VS integration. Differential Revision: http://llvm-reviews.chandlerc.com/D1731 llvm-svn: 191099
-
Reid Kleckner authored
llvm-svn: 191098
-
Reid Kleckner authored
llvm-svn: 191097
-
Reid Kleckner authored
llvm-svn: 191096
-