| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
Other than this, we consistently use lower case.
llvm-svn: 295623
|
| |
|
|
| |
llvm-svn: 295622
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Inline the addCompilerRT call to the single caller. NFC.
llvm-svn: 295620
|
| |
|
|
|
|
| |
patterns already increases their priority.
llvm-svn: 295619
|
| |
|
|
| |
llvm-svn: 295618
|
| |
|
|
| |
llvm-svn: 295617
|
| |
|
|
|
|
| |
new patterns to enable isel to fold the loads on it own.
llvm-svn: 295616
|
| |
|
|
| |
llvm-svn: 295615
|
| |
|
|
| |
llvm-svn: 295614
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
operand is not operand 0.
This uses a SDNodeXForm to swizzle the appropriate immediate bits to allow this to be matched.
llvm-svn: 295612
|
| |
|
|
|
|
| |
select is used to force the passthru operand to be not operand 0.
llvm-svn: 295611
|
| |
|
|
|
|
| |
Patch by Stefan Kempf.
llvm-svn: 295610
|
| |
|
|
|
|
|
|
|
| |
We can't support stack-protector on NVPTX because NVPTX doesn't expose a
stack to the compiler!
Fixes PR32009.
llvm-svn: 295609
|
| |
|
|
|
|
|
|
|
|
| |
combine depths.
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
|
| |
|
|
| |
llvm-svn: 295607
|
| |
|
|
|
|
| |
Relax the INSERTPS/SHUFPS/SHUFPD combines to support integer inputs if permitted.
llvm-svn: 295606
|
| |
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D30096
llvm-svn: 295605
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 295603
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
with broadcast loads. Also demonstrates a bug in the commuting of broadcast vpternlog instructions when we are able to select them.
llvm-svn: 295601
|
| |
|
|
|
|
| |
std::vector::end().
llvm-svn: 295600
|
| |
|
|
| |
llvm-svn: 295599
|
| |
|
|
|
|
| |
asserts are on
llvm-svn: 295598
|
| |
|
|
|
|
| |
So remove debugcounter.ll for now
llvm-svn: 295597
|
| |
|
|
|
|
| |
NDEBUG defined
llvm-svn: 295596
|
| |
|
|
| |
llvm-svn: 295595
|
| |
|
|
| |
llvm-svn: 295594
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 295592
|
| |
|
|
|
|
| |
would run into infinite loop anyways with -Asserts.
llvm-svn: 295591
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
need them and if we do we should just use a bitcast to a 64-bit element type.
llvm-svn: 295589
|
| |
|
|
| |
llvm-svn: 295588
|
| |
|
|
| |
llvm-svn: 295587
|
| |
|
|
|
|
| |
gcc only allows you to mix enums / ints if they have the same signedness.
llvm-svn: 295586
|
| |
|
|
| |
llvm-svn: 295585
|
| |
|
|
| |
llvm-svn: 295584
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
shouldSwapOperands to be correct.
llvm-svn: 295582
|
| |
|
|
|
|
| |
helpers, and fixing support for the renaming the comparison.
llvm-svn: 295581
|
| |
|
|
| |
llvm-svn: 295580
|
| |
|
|
|
|
|
|
| |
parameters instead of doing 128-bit and 256-bit simultaneously.
This requires some instructions to be renamed to move the Y earlier in the instruction name. The new names are more consistent with other instructions.
llvm-svn: 295579
|
| |
|
|
|
|
| |
This was found by another commit I'm working on.
llvm-svn: 295578
|
| |
|
|
|
|
| |
gcc only allows you to mix enums / ints if they have the same signedness.
llvm-svn: 295577
|
| |
|
|
|
|
| |
gcc only allows you to mix enums / ints if they have the same signedness.
llvm-svn: 295576
|
| |
|
|
|
|
| |
Added assertion to check input type of X86ISD::VZEXT during target known bits calculation.
llvm-svn: 295575
|
| |
|
|
|
|
|
|
|
| |
Changing to 'or' (rather than 'xor' when no wrapping flags are set)
allows icmp simplifies to happen as expected.
Differential Revision: https://reviews.llvm.org/D29729
llvm-svn: 295574
|