- Sep 17, 2017
-
-
Craig Topper authored
Previously we were just relying on pattern order to define precedence. Which works, but isn't the best way. llvm-svn: 313471
-
- Sep 16, 2017
-
-
Martin Storsjö authored
llvm-svn: 313470
-
Zachary Turner authored
It doesn't make sense to me why these bots are failing as the traceback does not agree with the source code. It's possible something is stale or there is some other mysterious error, but in any case hopefully this fixes it. llvm-svn: 313469
-
Zachary Turner authored
This was a bug in the test that was only exposed as a result of refactoring some code in lit configuration files. Previously, llvm's lit configuration would only set the target-windows feature if the system was also windows. Since cross-compilation is a thing, this isn't correct. target-windows should be set independently of system-windows. Adding to that bug, this particular test then checked for target-windows when it really meant "can I call a certain API on the host machine", which is what system-windows is for. Ultimately, this test only works if *both* the target and host are Windows, so I've updated the test to reflect that. llvm-svn: 313468
-
Zachary Turner authored
There were some issues surrounding Py2 / Py3 compatibility, but I've now tested with both Py2 and Py3 and everything seems to work. llvm-svn: 313467
-
Zachary Turner authored
llvm-svn: 313466
-
Craig Topper authored
The same code appears earlier in the function. This represents an earlier version of what became r313373 that I still had sitting in my local repo. llvm-svn: 313465
-
Adrian Prantl authored
This will print all children of a DIE when selectively printing only one DIE at a given offset. llvm-svn: 313464
-
Adrian Prantl authored
llvm-svn: 313463
-
Craig Topper authored
Summary: For a lot of older CPUs we have a 1:1 mapping between CPU name and enum name. But many of them are effectively aliases of each other and as a result are always repeated together at every usage This patch removes most of the duplication. It also uses StringSwitch::Cases to make the many to one mapping in the StringSwitch more obvious. Reviewers: RKSimon, spatel, zvi, igorb Reviewed By: RKSimon Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D37938 llvm-svn: 313462
-
Zachary Turner authored
A few tests were manually constructing a LitConfig object, since I added a new argument to it this was triggering some failures I didn't detect. `ninja check-lit` passes now. llvm-svn: 313461
-
Zachary Turner authored
This is helpful for debugging test failures since it removes the multiprocessing pool from the picture. This will obviously slow down the test suite by a few orders of magnitude, so it should only be used for debugging specific failures. llvm-svn: 313460
-
George Rimar authored
readelf tool reports an error when output contains the same section in multiple COMDAT groups. That can be useful. Path teaches llvm-readobj to do the same. Differential revision: https://reviews.llvm.org/D37567 llvm-svn: 313459
-
Sanjay Patel authored
This allows vector-sized store merging of constants in DAGCombiner using the existing code in MergeConsecutiveStores(). All of the twisted logic that decides exactly what vector operations are legal and fast for each particular CPU are handled separately in there using the appropriate hooks. For the motivating tests in merge-store-constants.ll, we already produce the same vector code in IR via the SLP vectorizer. So this is just providing a backend backstop for code that doesn't go through that pass (-O1). More details in PR24449: https://bugs.llvm.org/show_bug.cgi?id=24449 (this change should be the last step to resolve that bug) Differential Revision: https://reviews.llvm.org/D37451 llvm-svn: 313458
-
NAKAMURA Takumi authored
llvm-svn: 313457
-
NAKAMURA Takumi authored
llvm-svn: 313456
-
Craig Topper authored
[X86] Add isel patterns to be able to fold loads into VPERM2F128 even when the load is on the first input to the SDNode. We just need to toggle bits 1 and 5 of the immediate and swap the sources. The peephole pass could trigger commuting/folding for this later, but its easy enough to fix in isel. Disable the peephole pass on the main vperm2x128 test so we know we're doing this through isel. llvm-svn: 313455
-
Craig Topper authored
[X86] Remove unused check lines that got left behind when I moved tests to the instrinsic upgrade file and regenerated. llvm-svn: 313454
-
Craig Topper authored
Now that the intrinsics are gone we only need 64-bit elements since that's what shuffle lowering uses. llvm-svn: 313453
-
Vitaly Buka authored
llvm-svn: 313452
-
Craig Topper authored
I missed the we already had a pretty thorough test file for these instructions. llvm-svn: 313451
-
Craig Topper authored
I've moved the test cases from the InstCombine optimizations to the backend to keep the coverage we had there. It covered every possible immediate so I've preserved the resulting shuffle mask for each of those immediates. llvm-svn: 313450
-
Vitaly Buka authored
Summary: Part of https://github.com/google/sanitizers/issues/637 Reviewers: eugenis, alekseyshl Subscribers: srhines, kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D37889 llvm-svn: 313449
-
Craig Topper authored
Assume they were moved during autoupgrading and not changed. llvm-svn: 313448
-
Vitaly Buka authored
llvm-svn: 313447
-
Vedant Kumar authored
llvm-svn: 313446
-
Vitaly Buka authored
This patch enabled asan tests from sanitizer_common. llvm-svn: 313444
-
Vitaly Buka authored
llvm-svn: 313443
-
Vadim Chugunov authored
OpenOCD sends register classes as two separate <feature> nodes, fixed parser to process both of them. OpenOCD returns "l" in response to "qfThreadInfo", so IsUnsupportedResponse() was false and we were ending up without any threads in the process. I think it's reasonable to assume that there's always at least one thread. llvm-svn: 313442
-
Vitaly Buka authored
llvm-svn: 313441
-
Vitaly Buka authored
Replaced with !android llvm-svn: 313440
-
Vitaly Buka authored
This brakes interface_symbols_linux.c test. This reverts commit r313432. llvm-svn: 313439
-
Vitaly Buka authored
Test just needs profile. llvm-svn: 313438
-
Eugene Zemtsov authored
llvm-svn: 313437
-
Eugene Zemtsov authored
llvm-svn: 313436
-
Chandler Carruth authored
latest Python versions. llvm-svn: 313435
-
Craig Topper authored
I'm going to autoupgrade these intrinsics in a future commit. This bit will never be set in the resulting output so pre-removing the bit. llvm-svn: 313434
-
Craig Topper authored
llvm-svn: 313433
-
Vitaly Buka authored
llvm-svn: 313432
-
Eric Beckmann authored
This reverts commit 6389e7aa724ea7671d096f4770f016c3d86b0d54. There is a bug in this implementation where the string value of the checksum is outputted, instead of the actual hex bytes. Therefore the checksum is incorrect, and this prevent pdbs from being loaded by visual studio. Revert this until the checksum is emitted correctly. llvm-svn: 313431
-