- Jul 15, 2021
-
-
Tony Tye authored
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D106034
-
Chuanqi Xu authored
This patch make coroutine passes run by default in LLVM pipeline. Now the clang and opt could handle IR inputs containing coroutine intrinsics without special options. It should be fine. On the one hand, the coroutine passes seems to be stable since there are already many projects using coroutine feature. On the other hand, the coroutine passes should do nothing for IR who doesn't contain coroutine intrinsic. Test Plan: check-llvm Reviewed by: lxfind, aeubanks Differential Revision: https://reviews.llvm.org/D105877
-
Mehdi Amini authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D105961
-
John Demme authored
Adds `owner` python call to `mlir.ir.Value`. Assuming that `PyValue.parentOperation` is intended to be the value's owner, this fixes the construction of it from `PyOpOperandList`. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D103853
-
Mehdi Amini authored
This reverts commit 58018858. The Python bindings test are broken.
-
Kuter Dinel authored
This patch adds a feature to AACallEdges AbstractAttribute that allows users to ask if there is a unknown callee that isn't a inline assembly. This feature is needed by some of it's users. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D105992
-
Mehdi Amini authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D105961
-
Chen Zheng authored
-
Matthias Springer authored
Produce simpler IR with more static type information and fewer affine expressions. Differential Revision: https://reviews.llvm.org/D105530
-
Matthias Springer authored
Generate simpler code in case low/high padding of the PadTensorOp is statically zero. Differential Revision: https://reviews.llvm.org/D105529
-
Matthias Springer authored
The build failure was introduced by D105458. (Linux builds were not affected.) Differential Revision: https://reviews.llvm.org/D106029
-
Matthias Springer authored
Tiling can be enabled with `linalg-tile-pad-tensor-ops`. Only scf::ForOp can be generated at the moment. Differential Revision: https://reviews.llvm.org/D105460
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D105602
-
Matthias Springer authored
This optional operand will be used for tiling in a subsequent commit. Differential Revision: https://reviews.llvm.org/D105459
-
Matthias Springer authored
Factor out the functionality into a new function, so that it can be used for creating PadTensorOp tiles. Differential Revision: https://reviews.llvm.org/D105458
-
LLVM GN Syncbot authored
-
Kai Luo authored
This patch uses AtomicExpandPass to implement quadword lock free atomic operations. It adopts the method introduced in https://reviews.llvm.org/D47882, which expand atomic operations post RA to avoid spilling that might prevent LL/SC progress. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D103614
-
Dave Airlie authored
This is one of the easier pieces of adding CL3.0 support. Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D105526
-
Dave Airlie authored
This just reorders the atomics, it doesn't change anything except their layout in the header. This is a prep patch for adding some conditionals around these for CL3.0 but that patch is much easier to review if all the atomic operations are grouped together like this. Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D105601
-
Jan Vesely authored
cf3ef15a ("[OpenCL] Add builtin declarations by default.") switched behaviour to include "opencl-c-base.h". We don't want or need that for libclc so pass the flag to revert to old behaviour. Fixes build since cf3ef15a Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D99794
-
Kuter Dinel authored
This patch makes the annotate kernel features tests use the update_tests_checks.py script. Which makes it easy to update the tests. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D105864
-
Arthur O'Dwyer authored
It turns out that D105040 broke `std::rel_ops`; we actually do need both a one-template-parameter and a two-template-parameter version of all the comparison operators, because if we have only the heterogeneous two-parameter version, then `x > x` is ambiguous: template<class T, class U> int f(S<T>, S<U>) { return 1; } template<class T> int f(T, T) { return 2; } // rel_ops S<int> s; f(s,s); // ambiguous between #1 and #2 Adding the one-template-parameter version fixes the ambiguity: template<class T, class U> int f(S<T>, S<U>) { return 1; } template<class T> int f(T, T) { return 2; } // rel_ops template<class T> int f(S<T>, S<T>) { return 3; } S<int> s; f(s,s); // #3 beats both #1 and #2 We have the same problem with `reverse_iterator` as with `__wrap_iter`. But so do libstdc++ and Microsoft, so we're not going to worry about it. Differential Revision: https://reviews.llvm.org/D105894 -
Nathan Ridge authored
Differential Revision: https://reviews.llvm.org/D105457
-
Thomas Lively authored
Replace the experimental clang builtins and LLVM intrinsics for these instructions with normal codegen patterns. Resolves PR50435. Differential Revision: https://reviews.llvm.org/D106019
-
Jon Roelofs authored
The bug was that evaluateBitcastFromPtr attempts a narrowing to a struct's 0th element of a store that covers other elements. While this is okay on the load side, applying it to stores causes us to miss the writes to the additionally covered elements. rdar://79503568 Differential revision: https://reviews.llvm.org/D105838
-
Steven Wu authored
Follow up for D106012, turn on unittest for Host on Apple Silicon. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D106020
-
George Rokos authored
D105812 introduced a regression where if a PTR_AND_OBJ entry was mapped on the device, then the OBJ was deallocated and then reallocated at a different address, the Shadow Pointer Map would still contain an entry for the PTR but pointing to the old address. This caused test `env/base_ptr_ref_count.c` to fail. Differential Revision: https://reviews.llvm.org/D105947
-
owenca authored
This fixes PR50999. Differential Revision: https://reviews.llvm.org/D105964
-
Arthur Eubanks authored
-
Wolfgang Pieb authored
RELA relocations for 32 bit ARM ignored the addend. Some tools generate them instead of REL type relocations. This fixes PR50473. Reviewed By: MaskRay, peter.smith Differential Revision: https://reviews.llvm.org/D105214 -
Michael Kruse authored
The number of parameters can be the reason for aliasing checks not being generated, but most of the time it for other reasons.
-
Derek Schuff authored
Summary: Add support for the basic section stripping (and keeping) flags for wasm: strip with no flags, --strip-all, --strip-debug, --only-section, --keep-section, and --only-keep-debug. Factor section removal into a function and use a predicate chain like the ELF implementation. Reviewers: jhenderson, sbc100 Differential Revision: https://reviews.llvm.org/D73820
-
Arthur Eubanks authored
-
Arthur Eubanks authored
SplitBlock() can't handle catchswitch. Fixes PR50973. Reviewed By: aheejin Differential Revision: https://reviews.llvm.org/D105672
-
Jon Roelofs authored
Differential revision: https://reviews.llvm.org/D106007
-
Nicolas Vasilache authored
Differential Revision: https://reviews.llvm.org/D106014
-
Philip Reames authored
This is conceptually part of e75a2dfe. This file contains both tests whose results don't change (with the right attributes added), and tests which fundementally regress with the current proposal. Doing the update took some care, thus the seperate change. Here's the e75a2dfe context repeated: There's a potential change in dereferenceability attribute semantics in the nearish future. See llvm-dev thread "RFC: Decomposing deref(N) into deref(N) + nofree" and D99100 for context. This change simply adds appropriate attributes to tests to keep transform logic exercised under both old and new/proposed semantics. Note that for many of these cases, O3 would infer exactly these attributes on the test IR. This change handles the idiomatic pattern of a dereferenceable object being passed to a call which can not free that memory. There's a couple other tests which need more one-off attention, they'll be handled in another change.
-
Kirill Stoimenov authored
Summary This option can be used to reduce the size of the binary. The trade-off in this case would be the run-time performance. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D105726
-
Jonas Devlieghere authored
Make it possible to iterate over the TargetList. Differential revision: https://reviews.llvm.org/D105914
-
Jonas Devlieghere authored
Always destroy the process, regardless of its private state. This will call the virtual function DoDestroy under the hood, giving our derived class a chance to do the necessary tear down, including what to do when the private state is eStateExited. Differential revision: https://reviews.llvm.org/D106004
-