- Jan 01, 2019
-
-
Chen Zheng authored
-X * Y --> -(X * Y) X * -Y --> -(X * Y) Differential Revision: https://reviews.llvm.org/D55961 llvm-svn: 350185
-
Nico Weber authored
Also add build file for dependency llvm/lib/ExecutionEngine/MCJIT. The exegesis stuff is pretty hairy and knows a lot about Target internals (in general, not specifically in the GN build). I put the llvm-tblgen -gen-exegesis call in llvm/tools/llvm-exegesis/lib/X86, instead of in llvm/lib/Target/X86 where it is in CMake land, and asked on D52932 why it's in that place in the CMake build. Needed for check-llvm. Differential Revision: https://reviews.llvm.org/D56167 llvm-svn: 350184
-
Nico Weber authored
Also add build file for dependencies llvm/lib/ExecutionEngine, llvm/lib/ExecutionEngine/RuntimeDyld. Needed for check-llvm. Differential Revision: https://reviews.llvm.org/D56165 llvm-svn: 350183
-
Mike Spertus authored
llvm-svn: 350182
-
Simon Pilgrim authored
llvm-svn: 350181
-
Craig Topper authored
llvm-svn: 350180
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D56168 llvm-svn: 350179
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D56169 llvm-svn: 350178
-
Davide Italiano authored
llvm-svn: 350177
-
- Dec 31, 2018
-
-
Simon Pilgrim authored
Mentioned on D56167. llvm-svn: 350176
-
Michal Gorny authored
Propagate HOME environment variable to unittests. This is necessary to fix test failures resulting from pw_home pointing to a non-existing directory while being overriden with HOME. Apparently Gentoo users hit this sometimes when they override build directory for Portage. Original bug report: https://bugs.gentoo.org/674088 Differential Revision: https://reviews.llvm.org/D56162 llvm-svn: 350175
-
Martin Storsjo authored
Differential Revision: https://reviews.llvm.org/D56128 llvm-svn: 350174
-
Alexander Potapenko authored
MSan used to report false positives in the case the argument of llvm.is.constant intrinsic was uninitialized. In fact checking this argument is unnecessary, as the intrinsic is only used at compile time, and its value doesn't depend on the value of the argument. llvm-svn: 350173
-
Craig Topper authored
[DAGCombiner] Add missing one use check on the shuffle in the bitcast(shuffle(bitcast(s0),bitcast(s1))) -> shuffle(s0,s1) transform. Found while trying out some other changes so I don't really have a test case. llvm-svn: 350172
-
Nico Weber authored
Also add a build file for clang/lib/ASTMatchers/Dynamic, which is only needed by tests (and clang/tools/extra). Also make llvm/utils/gn/build/sync_source_lists_from_cmake.py check that every CMakeLists.txt file below {lld,clang}/unittests has a corresponding BUILD.gn file, so we notice if new test binaries get added (since the failure mode for missing GN build files for tests is just the tests silently not running in the GN build). Also add a unittest() macro for defining unit test targets, and add a lengthy comment there about where the unit test binaries go and why. With this, the build files for //clang are complete. Differential Revision: https://reviews.llvm.org/D56116 llvm-svn: 350171 -
Kamil Rytarowski authored
Summary: Tests marked with the flaky attribute ("FLAKY_TEST.") can still report false positives in local tests and on the NetBSD buildbot. Additionally a number of tests (probably all threaded ones) unmarked with the flaky attribute is flaky on NetBSD. An ideal solution on the libcxx side would be to raise max retries for NetBSD and mark failing tests with the flaky flag, however this adds more maintenance burden and constant monitoring of flaky tests. Reduce the work and handle flaky tests as more flaky on NetBSD and allow flakiness of other tests on NetBSD. Reviewers: mgorny, EricWF Reviewed By: mgorny Subscribers: christof, llvm-commits, libcxx-commits Differential Revision: https://reviews.llvm.org/D56064 llvm-svn: 350170 -
Martin Storsjo authored
Differential Revision: https://reviews.llvm.org/D56131 llvm-svn: 350169
-
Martin Storsjo authored
Differential Revision: https://reviews.llvm.org/D55922 llvm-svn: 350168
-
Mike Spertus authored
llvm-svn: 350167
-
Jonas Devlieghere authored
Simplify some code in PreprocessCommand. This change improves consistency, reduces the indentation and makes the code easier to follow overall. llvm-svn: 350166
-
- Dec 30, 2018
-
-
Kang Zhang authored
Summary: For SDAG, we pretend patchpoints aren't special at all until we emit the code for the pseudo. Then the verifier runs and it seems like we have a use of an undefined register (the register will be reserved later, but the verifier doesn't know that). So this patch call setUsesTOCBasePtr before emit the code for the pseudo, so verifier can know X2 is a reserved register. Reviewed By: nemanjai Differential Revision: https://reviews.llvm.org/D56148 llvm-svn: 350165
-
Davide Italiano authored
llvm-svn: 350164
-
Davide Italiano authored
llvm-svn: 350163
-
David Bolvansky authored
-This line, and those below, will be ignored-- M lib/Support/Error.cpp llvm-svn: 350162
-
Kang Zhang authored
Summary: This patch is created to fix the Bugzilla bug 39815: https://bugs.llvm.org/show_bug.cgi?id=39815 This patch is to support promotion integer result for the instruction ADDE, SUBE. Reviewed By: hfinkel Differential Revision: https://reviews.llvm.org/D56119 llvm-svn: 350161
-
Jonas Devlieghere authored
The quoted bug report (llvm.org/PR20270) was closed in 2014. llvm-svn: 350160
-
Craig Topper authored
This seems to be getting in the way more than its helping. This does mean we stop scalarizing some cases, but I'm not convinced the scalarization was really better. Some of the changes to vsel-cmp-load.ll are a regression but D56156 should fix it. llvm-svn: 350159
-
Craig Topper authored
[X86] Add custom type legalization for SIGN_EXTEND_VECTOR_INREG from 16i16/v32i8 to v4i64 when v4i64 needs splitting. This allows us to sign extend to v4i32 first. And then share that extension to implement the final steps to v4i64 using a pcmpgt and punpckl and punpckh. We already do something similar for SIGN_EXTEND with -x86-experimental-vector-widening-legalization. llvm-svn: 350158
-
Akira Hatanaka authored
'\1'. '@' can't be used in block descriptors' symbol names since it is reserved on ELF platforms as a separator between symbol names and symbol versions. See the discussion here: https://reviews.llvm.org/D50783. Differential Revision: https://reviews.llvm.org/D54539 llvm-svn: 350157
-
Nemanja Ivanovic authored
We have some unfortunate code in the back end that defines a bunch of register sets for the Asm Parser. Every time another class is needed in the parser, we have to add another one of those definitions with explicit lists of registers. This NFC patch simply provides macros to use to condense that code a little bit. Differential revision: https://reviews.llvm.org/D54433 llvm-svn: 350156
-
- Dec 29, 2018
-
-
Nemanja Ivanovic authored
A recent patch has added custom legalization of vector conversions of v2i16 -> v2f64. This just rounds it out for other types where the input vector has an illegal (narrower) type than the result vector. Specifically, this will handle the following conversions: v2i8 -> v2f64 v4i8 -> v4f32 v4i16 -> v4f32 Differential revision: https://reviews.llvm.org/D54663 llvm-svn: 350155
-
Chen Zheng authored
llvm-svn: 350154
-
Nemanja Ivanovic authored
The current CRBIT spill pseudo-op expansion creates a KILL instruction that kills the CRBIT and defines the enclosing CR field. However, this paints a false picture to the register allocator that all bits in the CR field are killed so copies of other bits out of the field become dead and removable. This changes the expansion to preserve the KILL flag on the CRBIT as an implicit use and to treat the CR field as an undef input. Thanks to Hal Finkel for the review and Uli Weigand for implementation input. Differential revision: https://reviews.llvm.org/D55996 llvm-svn: 350153
-
Simon Atanasyan authored
The following code requests 64-bit PC-relative relocations unsupported by MIPS ABI. Now it triggers an assertion. It's better to show an error message. ``` foo: .quad bar - foo ``` llvm-svn: 350152
-
Simon Atanasyan authored
llvm-svn: 350151
-
Craig Topper authored
llvm-svn: 350150
-
Davide Italiano authored
llvm-svn: 350149
-
Davide Italiano authored
llvm-svn: 350148
-
Davide Italiano authored
llvm-svn: 350147
-
Davide Italiano authored
And probably, less error prone. NFCI. llvm-svn: 350146
-