- Jun 03, 2020
-
-
Hanhan Wang authored
Summary: The fusion for tensor_reshape is embedding the information to indexing maps, thus the exising pattenr also works for indexed_generic ops. Depends On D80347 Differential Revision: https://reviews.llvm.org/D80348
-
Hanhan Wang authored
Summary: Different from the fusion between generic ops, indices are involved. In this context, we need to re-map the indices for producer since the fused op is built on consumer's perspective. This patch supports all combination of the fusion between indexed_generic ops and generic ops, which includes tests case: 1) generic op as producer and indexed_generic op as consumer. 2) indexed_generic op as producer and generic op as consumer. 3) indexed_generic op as producer and indexed_generic op as consumer. Differential Revision: https://reviews.llvm.org/D80347
-
Kadir Cetinkaya authored
-
aartbik authored
Summary: Progressive lowering of vector.transpose into an operation that is closer to an intrinsic, and thus the hardware ISA. Currently under the common vector transform testing flag, as we prepare deploying this transformation in the LLVM lowering pipeline. Reviewers: nicolasvasilache, reidtatge, andydavis1, ftynse Reviewed By: nicolasvasilache, ftynse Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits Tags: #llvm, #mlir Differential Revision: https://reviews.llvm.org/D80772
-
Jonas Devlieghere authored
Thanks Martin Böhme for pointing this out.
-
Jonas Devlieghere authored
-
Jim Ingham authored
There may be another test that tests this but I couldn't find one.
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Craig Topper authored
Add a separate X86_CPU_TYPE_COMPAT_ALIAS that carries alias string and the enum from X86_CPU_TYPE_COMPAT.
-
Nico Weber authored
lld's symbol resolution algorithm makes it not depend on the order of object files and libraries, but ld.bfd and gold require listing dependencies later on the link line. Put {{libs}} after {{inputs}} so that e.g. -lpthreads appears after the object files, not before it. Differential Revision: https://reviews.llvm.org/D81035
-
Thomas Lively authored
This reverts commit 755a8959. Although I was not able to reproduce any test failures locally, aheejin was able to reproduce them and found a fix, applied here.
-
Dan Gohman authored
This adds a -mexec-model= command-line flag. The default value is "command" which is no change from the current behavior. The other option is "reactor" which enables the WASI Reactor ABI: https://github.com/WebAssembly/WASI/blob/master/design/application-abi.md Differential Revision: https://reviews.llvm.org/D62922
-
Christopher Tetreault authored
Reviewers: efriedma, kmclaughlin, sdesmalen, dexonsmith, dblaikie Reviewed By: efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80261
-
Konrad Kleine authored
Summary: This check finds macro expansions of `DISALLOW_COPY_AND_ASSIGN(Type)` and replaces them with a deleted copy constructor and a deleted assignment operator. Before the `delete` keyword was introduced in C++11 it was common practice to declare a copy constructor and an assignment operator as a private members. This effectively makes them unusable to the public API of a class. With the advent of the `delete` keyword in C++11 we can abandon the `private` access of the copy constructor and the assignment operator and delete the methods entirely. Migration example: ``` lang=dif class Foo { private: - DISALLOW_COPY_AND_ASSIGN(Foo); + Foo(const Foo &) = delete; + const Foo &operator=(const Foo &) = delete; }; ``` Reviewers: alexfh, hokein, aaron.ballman, njames93 Reviewed By: njames93 Subscribers: Eugene.Zelenko, mgorny, xazax.hun, cfe-commits Tags: #clang, #clang-tools-extra Differential Revision: https://reviews.llvm.org/D80531
-
Matt Arsenault authored
Record internal state based on register units. This is often more efficient as there are typically fewer register units to update compared to iterating over all the aliases of a register. Original patch by Matthias Braun, but I've been rebasing and fixing it for almost 2 years and fixed a few bugs causing intermediate failures to make this patch independent of the changes in https://reviews.llvm.org/D52010.
-
Matt Arsenault authored
-
Julian Lettner authored
Use a struct to represent numerical versions instead of encoding release names in an enumeration. This avoids the need to extend the enumeration every time there is a new release. Rename `GetMacosVersion() -> GetMacosAlignedVersion()` to better reflect how this is used on non-MacOS platforms. Reviewed By: delcypher Differential Revision: https://reviews.llvm.org/D79970
-
Lukas Sommer authored
Summary: Nvidia PTX does not allow `.` to appear in identifiers, so OpenMP variant mangling now uses `$` to separate segments of the mangled name for variants of functions declared via `declare variant`. Reviewers: jdoerfert, Hahnfeld Reviewed By: jdoerfert Subscribers: yaxunl, guansong, sstefan1, cfe-commits Tags: #openmp, #clang Differential Revision: https://reviews.llvm.org/D80439
-
Davide Italiano authored
-
Jacques Pienaar authored
Therse are all handled with the simple return type inference in ODS. Also update some summaries to match what is recommended in ODS doc.
-
mydeveloperday authored
Summary: see https://bugs.llvm.org/show_bug.cgi?id=46157 Reviewed By: curdeius Differential Revision: https://reviews.llvm.org/D80933
-
mydeveloperday authored
[clang-format] [PR46159] Linux kernel 'C' code uses 'try' as a variable name, allow clang-format to handle such cases Reviewed By: curdeius Differential Revision: https://reviews.llvm.org/D80940
-
Vyacheslav Zakharin authored
Differential Revision: https://reviews.llvm.org/D80655
-
Raphael Isemann authored
This comment apparently didn't survive the great LLDB reformatting unharmed.
-
Vedant Kumar authored
Support printing strings which contain invalid utf8 sub-sequences, e.g. strings like "hello world \xfe", instead of bailing out with "Summary Unavailable". I took the opportunity here to delete some hand-rolled utf8 -> utf32 conversion code and replace it with calls into llvm's Support library. rdar://61554346
-
Vedant Kumar authored
The m_size and m_data members of DecodedCharBuffer are meant to be private.
-
Florian Hahn authored
Unconditionally use -verify-machineinstrs and XFAIL the test until fixed.
-
Saleem Abdulrasool authored
The LLVM code base already uses C++14, use std::make_unique to avoid the explicit constructor invocation via new and to avoid spelling out the type twice.
-
Arnold Schwaighofer authored
Summary: For retcon and retcon.once coroutines we assume that all uses of spills can be sunk past coro.begin. This simplifies handling of instructions that escape the address of an alloca. The current implementation would have issues if the address of the alloca is escaped before coro.begin. (It also has issues with casts before and uses of those casts after the coro.begin instruction) %alloca_addr = alloca ... %escape = ptrtoint %alloca_addr coro.begin store %escape to %alloca_addr rdar://60272809 Subscribers: hiraditya, modocache, mgrang, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81023
-
Simon Pilgrim authored
-
Florian Hahn authored
The test case highlights a mis-compile reported in PR46105, where a consecutive register list is renamed, which invalidates some other used registers.
-
Florian Hahn authored
Add a new test that checks that metadata is preserved when ssa_copy calls introduced by PredicateInfo are replaced by their original values.
-
Lang Hames authored
Debug sections will not be linked into the final executable and may contain ambiguous relocations*. Skipping them avoids both some unnecessary processing cost and the hassle of dealing with the problematic relocations. * E.g. __debug_ranges contains non-extern relocations to the end of functions hat begin with named symbols. Under the usual rules for interpreting non-extern relocations these will be incorrectly associated with the following block, or no block at all (if there is a gap between one block and the next).
-
Simon Pilgrim authored
-
Richard Smith authored
`...` is rST syntax for hyperlinks etc. ``...`` should be used for code snippets.
-
Steven Wan authored
Summary: This patch changes the AIX default target CPU to power4 since this is the the lowest arch for the lowest OS level supported. Reviewers: hubert.reinterpretcast, cebowleratibm, daltenty Reviewed By: hubert.reinterpretcast Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D80835
-
Dorit Nuzman authored
-
jasonliu authored
Without this change, names start with 'L' will get created as temporary symbol in MCContext::createSymbol. Some other potential prefix considered: .L, does not work for AIX, as a function start with L will end up with .L as prefix for its function entry point. ..L could work, but it does not play well with the convention on AIX that anything start with '.' are considered as entry point. L. could work, but not sure if it's safe enough, as it's possible to have suffixes like .something append to a plain L, giving L.something which is not necessarily a temporary. That's why we picked L.. for now. Differential Revision: https://reviews.llvm.org/D80831
-
Hiroshi Yamauchi authored
Reviewers: davidxl Subscribers: #sanitizers, llvm-commits Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D81038
-