- May 01, 2019
-
-
Hubert Tong authored
Summary: Triple components in `XFAIL` lines are tested against the target triple. Various tests that are expected to fail on big-endian hosts are marked as being `XFAIL` for big-endian targets. This patch corrects these tests by having them test against a new `host-byteorder-big-endian` feature. Reviewers: xingxue, sfertile, jasonliu Reviewed By: xingxue Subscribers: jvesely, nhaehnle, fedor.sergeev, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60551 llvm-svn: 359689
-
Fangrui Song authored
llvm-svn: 359688
-
Owen Pan authored
Fixes PR41483 Differential Revision: https://reviews.llvm.org/D61297 llvm-svn: 359687
-
Simon Pilgrim authored
Add to SimplifyDemandedVectorEltsForTargetNode and SimplifyDemandedBitsForTargetNode llvm-svn: 359686
-
Nico Weber authored
Prior to this, OptTable::findNearest() thought that the input `--foo` had an editing distance of 0 from an existing flag `--foo=`, which made it suggest flags with delimiters more often than flags without one. After this, it correctly assigns this case an editing distance of 1. Differential Revision: https://reviews.llvm.org/D61373 llvm-svn: 359685
-
Keno Fischer authored
Summary: This change was part of D46460. However, in the meantime rL341926 fixed the correctness issue here. What remained was the performance issue in setLoopID where it would iterate through all blocks in the loop and their successors, rather than just the predecessor of the header (the later presumably being much faster). We already have the `getLoopLatches` to compute precisely these basic blocks in an efficient manner, so just use it (as the original commit did for `getLoopID`). Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D61215 llvm-svn: 359684
-
Ben Dunbobbin authored
https://reviews.llvm.org/D55423 caused LLD to stop emitting dynamic relocations for references to script symbols in -pie links. This patch fixes that regression. https://reviews.llvm.org/D61298 llvm-svn: 359683
-
Michal Gorny authored
Differential Revision: https://reviews.llvm.org/D61303 llvm-svn: 359682
-
Michal Gorny authored
Differential Revision: https://reviews.llvm.org/D61303 llvm-svn: 359681
-
Simon Pilgrim authored
llvm-svn: 359680
-
Nico Weber authored
llvm-svn: 359679
-
Simon Pilgrim authored
llvm-svn: 359678
-
Simon Pilgrim authored
llvm-svn: 359677
-
Tim Northover authored
In preparation for supporting ILP32 on AArch64, this modifies the SelectionDAG builder code so that pointers are allowed to have a larger type when "live" in the DAG compared to memory. Pointers get zero-extended whenever they are loaded, and truncated prior to stores. In addition, a few not quite so obvious locations need updating: * A GEP that has not been marked inbounds needs to enforce the IR-documented 2s-complement wrapping at the memory pointer size. Inbounds GEPs are undefined if they overflow the address space, so no additional operations are needed. * Signed comparisons would give incorrect results if performed on the zero-extended values. This shouldn't affect CodeGen for now, but will become active when the AArch64 ILP32 support is committed. llvm-svn: 359676
-
Peter Smith authored
The fork-siguser.test and fork.test intermittently fail on the AArch64 buildbot. Unfortunately these failures are not reproducible on a similar machine and seem to fail when the machines are under load. Before suggesting the tests be marked unsupported for AArch64 we'd like to see if we can get some more information about the failures to see if it helps us reproduce. This patch adds --dump-input-on-failure to the FileCheck commands to see if we can get some more information about the failures. Differential Revision: https://reviews.llvm.org/D61315 llvm-svn: 359675
-
Fangrui Song authored
llvm-svn: 359674
-
Simon Pilgrim authored
llvm-svn: 359673
-
Marshall Clow authored
llvm-svn: 359672
-
Simon Pilgrim authored
As suggested on D61263 llvm-svn: 359671
-
Simon Pilgrim authored
llvm-svn: 359670
-
Simon Pilgrim authored
This lets us hit more cases than combineExtractSubvector and allows us reuse more code. llvm-svn: 359669
-
Fangrui Song authored
This improves readability and the behavior is consistent with GNU objdump. The new test test/tools/llvm-objdump/X86/disassemble-section-name.s checks we print newlines before and after "Disassembly of section ...:" Differential Revision: https://reviews.llvm.org/D61127 llvm-svn: 359668
-
Simon Pilgrim authored
Pull out the HADD/HSUB code to halve vector widths if the upper half isn't used - prep work to adding support for other opcodes. llvm-svn: 359667
-
Simon Pilgrim authored
This is an alternative to D59669 which more aggressively extracts i1 elements from vXi1 bool vectors using a MOVMSK. Differential Revision: https://reviews.llvm.org/D61189 llvm-svn: 359666
-
Raphael Isemann authored
Summary: After the LLDB website was migrated to be generated by Sphinx the build.html file lives in another location. See http://lists.llvm.org/pipermail/lldb-dev/2019-April/014992.html. Reviewers: teemperor Reviewed By: teemperor Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D61368 llvm-svn: 359665
-
Raphael Isemann authored
llvm-svn: 359664
-
George Rimar authored
Previously we did not report this. Also this removes multiple lookups in the map what cleanups the code. Differential revision: https://reviews.llvm.org/D61322 llvm-svn: 359663
-
Fangrui Song authored
Change llvm-{objdump,readobj} -long-option to --long-option or well-known short options in tests. NFC llvm-svn: 359662
-
Fangrui Song authored
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf. The confusing option should not be used since we aim for improving compatibility. Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test llvm-svn: 359661
-
Fangrui Song authored
llvm-svn: 359660
-
Petr Hosek authored
This addresses the issue introduced in r359646 which is causing sanitizer bots to fail. llvm-svn: 359659
-
Craig Topper authored
[X86FixupLEAs] Hoist the calls to isLEA out of the 3 separate functions and put it in the basic block instruction loop. NFC Now need to check it 3 different times. Just do it once at the top of the loop. llvm-svn: 359658
-
Fangrui Song authored
llvm-svn: 359657
-
Petr Hosek authored
This addresses the longstanding FIXME and makes libc++ build more similar to other runtimes. Differential Revision: https://reviews.llvm.org/D61275 llvm-svn: 359656
-
Fangrui Song authored
gcc -pedantic => warning: ISO C forbids empty initializer braces clang -pedantic => -Wzero-length-array + -Wgnu-empty-initializer llvm-svn: 359655
-
Tom Stellard authored
Summary: This is a follow up to r355253 and a better fix than the first attempt which was r359257. We can't install anything from ${CMAKE_CFG_INTDIR}, because this value is only defined at build time, but we still must make sure to copy the headers into ${CMAKE_CFG_INTDIR}/lib/clang/$VERSION/include, because the lit tests look for headers there. So for this fix we revert to the old behavior of copying the headers to ${CMAKE_CFG_INTDIR}/lib/clang/$VERSION/include during the build and then installing them from the source tree. Reviewers: smeenai, vzakhari, phosek Reviewed By: smeenai, vzakhari Subscribers: mgorny, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61220 llvm-svn: 359654
-
Fangrui Song authored
While updating the test, change -l -S to -S -l as the output of -S goes before -l. llvm-svn: 359653
-
Fangrui Song authored
The latter is much more common. A dedicated --elf-output-style=GNU test demonstrating it is the same as llvm-readelf is sufficient. llvm-svn: 359652
-
Fangrui Song authored
Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
-
Petr Hosek authored
This addresses issue introduced in r359646. llvm-svn: 359650
-