- Feb 19, 2017
-
-
Michal Gorny authored
Use both LLDB- and LLVM-specific tool/library directories when LLDB is being built stand-alone. This ensures that the freshly-built tools (and libraries) are used correctly. Without this patch, the test suite uses LLVM_TOOLS_DIR and LLVM_LIBS_DIR to locate lldb, and set PATH and LD_LIBRARY_PATH. When doing a stand-alone build, these variables represent the installed LLVM. As a result, tests either fail due to missing lldb executable or use an earlier installed LLDB version rather than the one being built. To solve this, additional LLDB_TOOLS_DIR and LLDB_LIBS_DIR variables are added and populated using LLVM_*_OUTPUT_INTDIR. Those variables contain directories used to output built executables and libraries. In stand-alone builds, they represent the build-tree directories used by LLDB. In integrated builds, they have the same values as LLVM_*_DIR and therefore using them does not harm. The new variables are prepended to PATH and LD_LIBRARY_PATH to ensure that freshly built binaries are preferred over potentially earlier installed ones. Furthermore, paths used to locate various tools are updated to match appropriate locations. Differential Revision: https://reviews.llvm.org/D29985 llvm-svn: 295621
-
Saleem Abdulrasool authored
Inline the addCompilerRT call to the single caller. NFC. llvm-svn: 295620
-
Craig Topper authored
[AVX-512] Remove AddedComplexity from masked operations. The size of the patterns already increases their priority. llvm-svn: 295619
-
Simon Pilgrim authored
llvm-svn: 295618
-
Davide Italiano authored
llvm-svn: 295617
-
Craig Topper authored
[AVX-512] Disable peephole optimizations on the VPTERNLOG commute test. Add new patterns to enable isel to fold the loads on it own. llvm-svn: 295616
-
Davide Italiano authored
llvm-svn: 295615
-
Brad Smith authored
llvm-svn: 295614
-
Simon Pilgrim authored
Replaces existing approach that could only search BUILD_VECTOR nodes. Requires getTargetConstantBitsFromNode to discriminate cases with all/partial UNDEF bits in each element - this should also be useful when we get around to supporting getTargetShuffleMaskIndices with UNDEF elements. llvm-svn: 295613
-
Craig Topper authored
This uses a SDNodeXForm to swizzle the appropriate immediate bits to allow this to be matched. llvm-svn: 295612
-
Craig Topper authored
[AVX-512] Add test cases that show failure to select masked VPTERNLOG when a select is used to force the passthru operand to be not operand 0. llvm-svn: 295611
-
Brad Smith authored
Patch by Stefan Kempf. llvm-svn: 295610
-
Justin Lebar authored
We can't support stack-protector on NVPTX because NVPTX doesn't expose a stack to the compiler! Fixes PR32009. llvm-svn: 295609
-
Simon Pilgrim authored
As discussed on D27692, this permits another domain to be used to combine a shuffle at high depths. We currently set the required depth at 4 or more combined shuffles, this is probably too high for most targets but is a good starting point and already helps avoid a number of costly variable shuffles. llvm-svn: 295608
-
Artyom Skrobov authored
llvm-svn: 295607
-
Simon Pilgrim authored
Relax the INSERTPS/SHUFPS/SHUFPD combines to support integer inputs if permitted. llvm-svn: 295606
-
Igor Kudrin authored
Differential Revision: https://reviews.llvm.org/D30096 llvm-svn: 295605
-
Simon Pilgrim authored
Add the infrastructure to flag whether float and/or int domains are permitable. A future patch will enable domain crossing based off shuffle depth and the value types of the source vectors. llvm-svn: 295604
-
Simon Pilgrim authored
llvm-svn: 295603
-
Craig Topper authored
The instructions are marked commutable, but without special handling we don't get the immediate correct. While here also remove the masked memory forms that aren't commutable. llvm-svn: 295602
-
Craig Topper authored
[AVX-512] Add patterns to show missed opportunities for folding vpternlog with broadcast loads. Also demonstrates a bug in the commuting of broadcast vpternlog instructions when we are able to select them. llvm-svn: 295601
-
NAKAMURA Takumi authored
llvm-svn: 295600
-
NAKAMURA Takumi authored
llvm-svn: 295599
-
Daniel Berlin authored
llvm-svn: 295598
-
Daniel Berlin authored
Which, in turn, causes build bots to fail that have it unexpectedly passing. So remove debugcounter.ll for now llvm-svn: 295597
-
Daniel Berlin authored
llvm-svn: 295596
-
Daniel Berlin authored
llvm-svn: 295595
-
Daniel Berlin authored
llvm-svn: 295594
-
Daniel Berlin authored
Summary: We have support for bisection, and bugpoint can reduce testcases often to a single pass. But that doesn't help reduce it to a single transform by a single pass. Which debug counting lets us do. Debug counting lets you instrument a pass so that it only executes a certain thing (rwhatever you want) after skipping it a certain time of times, and then only does a certain number of executions before saying "skip" again. To make it concrete, for predicateinfo, if i instrument use renaming, i can make it so it skips renaming the first N uses, renames the next N, and then skips the rest. This lets you narrow down a miscompilation to, often, a single transformation, and then also debug it (by using the same command line parameters). Reviewers: chandlerc, davide, mehdi_amini Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D29998 llvm-svn: 295593
-
NAKAMURA Takumi authored
llvm-svn: 295592
-
NAKAMURA Takumi authored
llvm/test/CodeGen/AMDGPU/r600.alu-limits.ll should require +Asserts. This would run into infinite loop anyways with -Asserts. llvm-svn: 295591
-
David Blaikie authored
Behavior races on ErrorCount. If the enqueued paths are evaluated eagerly (in enqueuePath) then the behavior is as the test expects. But they may not be evaluated until the future is waited on, in run() - which is after the early return/exit on ErrorCount. (this causes the test to fail (because in the "/ERRORCOUNT:XYZ" test, no other errors are printed), at least for me, on linux) This reverts commit r295507. llvm-svn: 295590
-
Craig Topper authored
[X86] Remove patterns for MOVSD with v4i32 types. We don't appear to really need them and if we do we should just use a bitcast to a 64-bit element type. llvm-svn: 295589
-
Craig Topper authored
llvm-svn: 295588
-
Simon Pilgrim authored
llvm-svn: 295587
-
Simon Pilgrim authored
gcc only allows you to mix enums / ints if they have the same signedness. llvm-svn: 295586
-
Simon Pilgrim authored
llvm-svn: 295585
-
Simon Pilgrim authored
llvm-svn: 295584
-
Daniel Berlin authored
Summary: This begins using the predicateinfo pass in NewGVN. Reviewers: davide Subscribers: llvm-commits, Prazek Differential Revision: https://reviews.llvm.org/D29682 llvm-svn: 295583
-
Daniel Berlin authored
shouldSwapOperands to be correct. llvm-svn: 295582
-