- Jul 28, 2020
-
-
Matt Arsenault authored
-
Matt Arsenault authored
These aren't implemented and we're still relying on the AtomicExpand pass, but mark these as lower to eliminate a few of the few remaining no rules defined cases.
-
Matt Arsenault authored
-
Jonas Devlieghere authored
The CMAKE_BUILD_TYPE is only meaningful to single-configuration generators (such as make and Ninja). For multi-configuration generators like Xcode and MSVC this variable won't be set, resulting in a CMake error.
-
Matt Arsenault authored
The DAG behavior allows matchching input patterns with a single result to the first result of an output instruction that defines multiple results. The remaining defs are implicitly dead. This starts to fix using manual selection for AMDGPU add/sub (although it's still needed, mostly because it's also still needed for G_PTR_ADD).
-
Francesco Petrogalli authored
Reviewers: c-rhodes, efriedma, sdesmalen Subscribers: huihuiz, tschuett, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77251
-
peter klausler authored
A comma is not required between a scale factor and a following data edit descriptor (C1302). Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D84369
-
Arthur Eubanks authored
Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D84704
-
Fred Riss authored
-
Sridhar Gopinath authored
The move constructor of MachineModuleInfo currently does not copy the MachineFunctions map. This commit fixes this issue. Patch by Sridhar Gopinath. Thanks! Differential Revision: https://reviews.llvm.org/D84274
-
Jinsong Ji authored
This reverts commit adffce71. This is breaking test-suite, revert while investigation.
-
Guillaume Chatelet authored
-
Sergej Jaskiewicz authored
The commit 8372d505 has been reverted (eafeb8af) because it broke asan tests on green dragon buildbots. The underlying issue has been fixed in 4dd5c2be.
-
Arthur Eubanks authored
For readability and consistency with other thumb2 passes like "thumb2-it". Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D84696
-
Roman Lebedev authored
Summary: This seems obvious in hindsight, but the result is surprising. I've measured compile-time of `-openmpopt` pass standalone on RawSpeed unity build, and while there is some OpenMP stuff, most is not OpenMP. But nonetheless the pass does a lot of costly preparations before ever trying to look for OpenMP stuff in SCC. Numbers (n=25): 0.094624s -> 0.005976s, an -93.68% improvement, or ~16x Reviewers: jdoerfert Reviewed By: jdoerfert Subscribers: yaxunl, hiraditya, guansong, llvm-commits, sstefan1 Tags: #llvm Differential Revision: https://reviews.llvm.org/D84689
-
Adrian Prantl authored
This cleanup patch unifies all methods called GetByteSize() in the ValueObject hierarchy to return an optional, like the methods in CompilerType do. This means fewer magic 0 values, which could fix bugs down the road in languages where types can have a size of zero, such as Swift and C (but not C++). Differential Revision: https://reviews.llvm.org/D84285 This re-lands the patch with bogus :m_byte_size(0) initalizations removed.
-
Louis Dionne authored
keymgr used to be used on MacOSX <= 10.6, however we don't build libunwind from scratch for such old systems anymore. Hence, this code isn't useful anymore. Differential Revision: https://reviews.llvm.org/D84677
-
Ye Luo authored
Summary: 1. Add DeviceTy::data_alloc, DeviceTy::data_delete, DeviceTy::data_alloc, DeviceTy::synchronize pass-through functions. Avoid directly accessing Device.RTL 2. Fix the type of the first argument of synchronize_ty in rth.h, device id is int32_t which is consistent with other functions. Reviewers: tianshilei1992, jdoerfert Reviewed By: tianshilei1992 Subscribers: yaxunl, guansong, sstefan1, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D84487
-
Fred Riss authored
Summary: This commit is somewhat NFC-ish today as the environment of triples is not considered when comparing s if one of them is not set (I plan to change that). We have made simulator triples unambiguous these days, but the simulator platforms still advertise triples without the environment. This wasn't an issue when the sims ran only on a very different architecure than the real device, but this has changed with Apple Silicon. This patch simplifies the way GetSupportedArchitectureAtIndex is implemented for the sim platforms and adds the environment. It also trivially adds support for Apple Silicon to those platforms. Reviewers: aprantl Subscribers: lldb-commits
-
Jon Roelofs authored
... under the EXPENSIVE_CHECKS build, this fails the assert in the LegacyPM that verifies whether a pass really did leave the IR alone when it reports no changes back from its return status.
-
Jonas Devlieghere authored
-
Jinsong Ji authored
Per RFC http://lists.llvm.org/pipermail/llvm-dev/2020-April/141295.html no one is making use of QPX/A2Q/BGQ/BGP CNK anymore. This patch remove the support of QPX/A2Q in llvm, BGQ/BGP in clang, CNK support in openmp/polly. Reviewed By: hfinkel Differential Revision: https://reviews.llvm.org/D83915
-
MaheshRavishankar authored
The LowerAffine psas was a FunctionPass only for legacy reasons. Making this Op-agnostic allows it to be used from command line when affine expressions are within operations other than `std.func`. Differential Revision: https://reviews.llvm.org/D84590
-
Xiangling Liao authored
Implement AIX default `power` alignment rule by adding `PreferredAlignment` and `PreferredNVAlignment` in ASTRecordLayout class. The patchh aims at returning correct value for `__alignof(x)` and `alignof(x)` under `power` alignment rules. Differential Revision: https://reviews.llvm.org/D79719
-
Shinji Okumura authored
Summary: Add tests to `noalias.ll` to make changes in D84665 clear Reviewers: jdoerfert, sstefan1, uenoku, homerdin, baziotis Subscribers: uenoku, kuter, bbn, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D84688
-
Kirill Bobyrev authored
Reviewers: kadircet Reviewed By: kadircet Subscribers: sammccall, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D84499
-
Matt Morehouse authored
This adds a new extern "C" function that serves the same purpose. This removes the need for external users to depend on internal headers in order to use this feature. It also standardizes the interface in a way that other fuzzing engines will be able to match. Patch By: IanPudney Reviewed By: kcc Differential Revision: https://reviews.llvm.org/D84561
-
Dokyung Song authored
Recommit "[libFuzzer] Disable implicit builtin knowledge about memcmp-like functions when -fsanitize=fuzzer-no-link is given." Summary: This patch disables implicit builtin knowledge about memcmp-like functions when compiling the program for fuzzing, i.e., when -fsanitize=fuzzer(-no-link) is given. This allows libFuzzer to always intercept memcmp-like functions as it effectively disables optimizing calls to such functions into different forms. This is done by adding a set of flags (-fno-builtin-memcmp and others) in the clang driver. Individual -fno-builtin-* flags previously used in several libFuzzer tests are now removed, as it is now done automatically in the clang driver. The patch was once reverted in 8ef9e2bf, as this patch was dependent on a reverted commit f78d9fce. This reverted commit was recommitted in 831ae45e, so relanding this dependent patch too. Reviewers: morehouse, hctim Subscribers: cfe-commits, #sanitizers Tags: #clang, #sanitizers Differential Revision: https://reviews.llvm.org/D83987
-
aartbik authored
Integration test that illustrates the gather operation with a real-world operation expressed in mostly the Vector dialect. Uses jagged diagonal storage. Reviewed By: bondhugula Differential Revision: https://reviews.llvm.org/D84571
-
Arthur Eubanks authored
For consistency with other target specific passes. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D84560
-
Mitch Phillips authored
Summary: Fix up a slight bug with the crash handler API, where we say that we return the size of the collected trace (instead of the size of the trace that's returned) when the return buffer is too small, and the result is truncated. Also, as a result, patch up a small uninitialized memory bug. Reviewers: morehouse, eugenis Reviewed By: eugenis Subscribers: #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D84652
-
Kazu Hirata authored
Summary: This patch replaces std::find with llvm::is_contained where appropriate. Reviewers: efriedma, nhaehnle Reviewed By: nhaehnle Subscribers: arsenm, jvesely, nhaehnle, hiraditya, rogfer01, kerbowa, llvm-commits, vkmr Tags: #llvm Differential Revision: https://reviews.llvm.org/D84489
-
Nadav Rotem authored
Speed up the method RequiresStackProtector by checking the intrinsic value of the call. The original code calls getName() that returns an allocating std::string on each check. This change removes about 96072 std::string instances when compiling sqlite3.c; The function was discovered with a Facebook-internal performance tool. Differential Revision: https://reviews.llvm.org/D84620
-
Craig Topper authored
-
AlexisPerry authored
fixes BUG 46307 Differential Revision: https://reviews.llvm.org/D84266
-
Francesco Petrogalli authored
...with the non-template version, as the template version might increase the size of the compiler build. Methods affected: 1.`findAddrModeSVELoadStore` 2. `SelectPredicatedStore` Also, remove the `const` qualifier from the `unsigned` parameters of the methods to conform with other similar methods in the class.
-
MaheshRavishankar authored
linalg.indexed_generic (consumer) with tensor arguments. The implementation of fusing std.constant producer with a linalg.indexed_generic consumer was already in place. It is exposed with this change. Also cleaning up some of the patterns that implement the fusion to not be templated, thereby avoiding lot of conditional checks for calling the right instantiation. Differential Revision: https://reviews.llvm.org/D84566
-
Simon Pilgrim authored
[X86][SSE] Relax 128-bit restriction on extract_subvector(ext_vector_inreg(X),0) -> ext_vector_inreg(extract_subvector(X,0)) fold We only need to ensure that the source is larger than the subvector result type
-
LLVM GN Syncbot authored
-
Nico Weber authored
-