- Oct 08, 2021
-
-
Florian Hahn authored
Precommit test cases for D108114.
-
Frederic Cambus authored
Differential Revision: https://reviews.llvm.org/D111340
-
Wang, Pengfei authored
This fixes pr52011. Reviewed By: LuoYuanke Differential Revision: https://reviews.llvm.org/D111037
-
Max Kazantsev authored
This reverts commit 8a959625. Reported failures with LLVM_ENABLE_EXPENSIVE_CHECKS, need to investigate.
-
David Spickett authored
This is now passing after bots were upgraded to Ubuntu Focal, which comes with ld 2.34.
-
Pavel Labath authored
replace stl and lldb apis with standard llvm ones.
-
Pavel Labath authored
they're unnecessary, make the code longer, and their removal actually ensures proper initialization in multithreaded scenarios.
-
Kirill Bobyrev authored
Left-overs from the review process were not deleted.
-
Jingu Kang authored
Update the incoming value of phi nodes in header of post-loop correctly. Differential Revision: https://reviews.llvm.org/D110060
-
Dawid Jurczak authored
The purpose of patch is to learn Loop Idiom Recognize pass how to recognize simple memmove patterns in similar way like GCC does: https://godbolt.org/z/dKjGvTGff It's follow-up of following change: https://reviews.llvm.org/D104464 Differential Revision: https://reviews.llvm.org/D107075
-
Qiu Chaofan authored
As discussed in D109948, pre-computing all complex float types is not necessary and brings extra overhead. This patch removes these defined types, and construct them in-place when needed. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D111387
-
Alex Zinenko authored
Introduce support for accepting ops instead of values when constructing ops. A single-result op can be used instead of a value, including in lists of values, and any op can be used instead of a list of values. This is similar to, but more powerful, than the C++ API that allows for implicitly casting an OpType to Value if it is statically known to have a single result - the cast in Python is based on the op dynamically having a single result, and also handles the multi-result case. This allows to build IR in a more concise way: op = dialect.produce_multiple_results() other = dialect.produce_single_result() dialect.consume_multiple_results(other, op) instead of having to access the results manually op = dialect.produce.multiple_results() other = dialect.produce_single_result() dialect.consume_multiple_results(other.result, op.operation.results) The dispatch is implemented directly in Python and is triggered au... -
Michael Kruse authored
This was missing from 07e7cb94. The switch did nothing since then.
-
Tobias Gysi authored
The convolution op is one of the remaining hard coded Linalg operations that have no region attached. It got obsolete due to the OpDSL convolution operations. Removing it allows us to delete specialized code and tests that are not needed for the OpDSL counterparts that rely on the standard code paths. Test needed due to specialized implementations are removed. Tiling and fusion tests are replaced by variants using linalg.conv_2d. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D111233
-
Amara Emerson authored
This was using MachineFunction::createExternalSymbolName() before, which seems reasonable, but in fact this is freed before the asm emitter which tries to access the function name string. Switching it to use the string returned by the attribute seems to fix the problem.
-
Amara Emerson authored
In order to not generate an unnecessary G_CTLZ, I extended the constant folder in the CSEMIRBuilder to handle G_CTLZ. I also added some extra handing of vector constants too. It seems we don't have any support for doing constant folding of vector constants, so the tests show some other useless G_SUB instructions too. Differential Revision: https://reviews.llvm.org/D111036
-
Tobias Gysi authored
Add a loop interchange pass and integrate it with CodegenStrategy. This patch depends on https://reviews.llvm.org/D110728 and https://reviews.llvm.org/D110746. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D110748
-
Jay Foad authored
The "coloring with register" functionality it refers to was removed ten years ago in svn r144481 "Remove the -color-ss-with-regs option".
-
Tobias Gysi authored
Add a generalization pass and integrate it with CodegenStrategy. This patch depends on https://reviews.llvm.org/D110728. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D110746
-
Simon Moll authored
Make match patterns more permissive to be invariant to register allocation choices. Reviewed By: kaz7 Differential Revision: https://reviews.llvm.org/D111312
-
Vassil Vassilev authored
Original commit message: " Original commit message: " Original commit message:" The current infrastructure in lib/Interpreter has a tool, clang-repl, very similar to clang-interpreter which also allows incremental compilation. This patch moves clang-interpreter as a test case and drops it as conditionally built example as we already have clang-repl in place. Differential revision: https://reviews.llvm.org/D107049 " This patch also ignores ppc due to missing weak symbol for __gxx_personality_v0 which may be a feature request for the jit infrastructure. Also, adds a missing build system dependency to the orc jit. " Additionally, this patch defines a custom exception type and thus avoids the requirement to include header <exception>, making it easier to deploy across systems without standard location of the c++ headers. " This patch also works around PR49692 and finds a way to use llvm::consumeError in rtti mode. Differential revision: https://reviews.llvm.org/D107049 -
Jimmy Zhongduo Lin authored
-
Matthias Springer authored
The function now takes a Value instead of an OpOperand. Differential Revision: https://reviews.llvm.org/D111378
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D111377
-
Matthias Springer authored
Currently supported are: BufferRelation::None, BufferRelation::Equivalent. Differential Revision: https://reviews.llvm.org/D111376
-
Mehdi Amini authored
This reverts commit 7aebdfc4. The build is broken with errors like: GPUPasses.cpp:(.text.pybind11_object_init[pybind11_object_init]+0x118): undefined reference to `PyExc_TypeError'
-
Mike Urbach authored
After CMake 3.18, we are able to limit the scope of the find_package(Python3 ...) search to just Development.Module. Searching for Development will fail in manylinux builds, and isn't necessary since we are not embedding the Python interpreter. For more information, see: https://pybind11.readthedocs.io/en/stable/compiling.html#findpython-mode Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D111383
-
Mehdi Amini authored
These kind of function can behave differently on these X86 chips, there isn't really "one true answer" so we'll accept both. Also remove spurious passes and use mattr="avx" to match the instruction used here. Differential Revision: https://reviews.llvm.org/D111373
-
Arthur Eubanks authored
This reverts commit fdf4c035. Breaks macOS bots, e.g. https://crbug.com/1257863. Still figuring out if this is actually supported on macOS. Other places that include <cet.h> only do so on Linux.
-
Craig Topper authored
At this point it looks like a B extension will never exist. Instead Zba, Zbb, Zbc, and Zbs are individual extensions being ratified together as a package. Unknown at this time when or if the other Zb* extensions will be ratified. This patch removes references to the B extension. I've updated and split tests accordingly. This has been split from D110669 to make review a little easier. Differential Revision: https://reviews.llvm.org/D111338
-
Chen Zheng authored
-
Max Kazantsev authored
Added support for peeling loops with "deoptimizing" exits - such exits that it or any of its children (or any of their children, etc) either has a @llvm.experimental.deoptimize call prior to the terminating return instruction of this basic block or is terminated with unreachable. All blocks in the the sequence must have a single successor, maybe except for the last one. Previously we only checked the exit block for being deoptimizing. Now we check if the last reachable block from the exit is deoptimizing. Patch by Dmitry Makogon! Differential Revision: https://reviews.llvm.org/D110922 Reviewed By: mkazantsev
-
Chen Zheng authored
Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D97184
-
Joseph Huber authored
This patch adds two flags to be supported for the new runtime. The flags are `-fopenmp-assume-threads-oversubscription` and -fopenmp-assume-teams-oversubscription`. These add global values that can be checked by the work sharing runtime functions to make better judgements about how to distribute work between the threads. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D111348
-
Shilei Tian authored
For NVPTX, `printf` can be used just with a function declaration. For AMDGCN, an function definition is added, but it simply returns. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D109728
-
Itay Bookstein authored
The shift libcalls have a shift amount parameter of MVT::i32, but sometimes ExpandIntRes_Shift may be called with a node whose second operand is a type that is larger than that. This leads to an ABI mismatch, and for example causes a spurious zeroing of a register in RV32 for 64-bit shifts. Note that at present regular shift intstructions already have their shift amount operand adapted at SelectionDAGBuilder::visitShift time, and funnelled shifts bypass that. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D110508
-
Wang, Pengfei authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D110557
-
Ben Shi authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D111140
-
Johannes Doerfert authored
We need to synchronize the threads *before* we destroy the RAII objects that hold the old values and not after to avoid threads executing the parallel region but seeing an inconsistent state. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D111369
-
Vitaly Buka authored
before: 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 Shadow map of [0x211000000005, 0x21100000012e), 297 bytes: now: 0x2f60d213ac10[0x7f60d213ac10] 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 Shadow map [0x211000000005, 0x21100000012e) of [0x711000000005, 0x711000000135), 297 bytes: Differential Revision: https://reviews.llvm.org/D111261
-