- Apr 20, 2023
-
-
Craig Topper authored
Fold the 3 flag defines into the enum that defines TSFlags. Then we don't have to extract them we can just test the bits directly in TSFlags. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D148765
-
Craig Topper authored
Binutils allows vector instructions with memory operands that have an explicit 0 offset like 'vle8.v v0, 0(a0)'. We already have support for this in the parser because the same thing is allowed for atomics. This patch changes the AsmOperand and AsmString for the vector memory instructions to allow this. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D148733
-
Viktoriia Bakalova authored
Differential Revision: https://reviews.llvm.org/D147044
-
Haojian Wu authored
A followup of the fix 46f5aaa8
-
Kavitha Natarajan authored
This patch adds support for reduction of min-intrinsic for scalar types. Min is lowered as a compare-select in the default lowering flow for Flang. This pattern is matched and replaced with the OpenMP dialect reduction operation. Note: This is a temporary flow. The plan is to move to a flow where the OpenMP reduction operation is inserted during lowering.
-
Jun Sha (Joshua) authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D148686
-
Tue Ly authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D148781
-
Pravin Jagtap authored
Reviewed By: arsenm, sameerds, gandhi21299 Differential Revision: https://reviews.llvm.org/D148628
-
Mehdi Amini authored
The doc aren't part of the usual build, so this got unnoticed. In c184dcb4 a dependency was added from the OpenACC on the LLVM and Memref dialects, to generate the dialect doc we need to explicitly ask for the `acc` dialect now.
-
Akshay Khadse authored
Reviewed By: LuoYuanke Differential Revision: https://reviews.llvm.org/D148692
-
Shengchen Kan authored
We no longer distinguish REX.W from VEX.W in .td.
-
Peter Rong authored
InsertFunctionStrategy does two things: 1. Add a random function declaration or definition to the module. This would replace previously used `createEmptyFunction`. 2. Add a random function call between instructions. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D148568
-
Petr Hosek authored
All officially supported linkers should support response files and this avoids issues when compiling on platforms such as Windows. Differential Revision: https://reviews.llvm.org/D148760
-
Petr Hosek authored
All officially supported linkers should support response files and this avoids issues when compiling on platforms such as Windows. Differential Revision: https://reviews.llvm.org/D148763
-
Xiang1 Zhang authored
Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D147996
-
Jun Sha (Joshua) authored
In order to match the latest ISA manual, we need to remove sx prefix. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D148617
-
Jun Sha (Joshua) authored
This reverts commit fbc63e56
-
Matthias Springer authored
This cleanup aligns the affine dialect with all the other dialects. Differential Revision: https://reviews.llvm.org/D148687
-
Jun Sha (Joshua) authored
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D148670
-
Manish Gupta authored
Differential Revision: https://reviews.llvm.org/D148161
-
Chia-hung Duan authored
The output looks like, Stats: SharedTSDs: 2 available; total 8 Shared TSD[0]: 00 ( 64): cached: 10 max: 26 32 ( 65552): cached: 1 max: 2 Shared TSD[1]: No block is cached. Differential Revision: https://reviews.llvm.org/D148755 -
Joseph Huber authored
Summary: We have a CMake condition to not include this static library on NVPTX because their linker doesn't support it. There was a typo that made this trigger on all builds not just the NVPTX ones.
-
Joseph Huber authored
The RPC interface can support multiple independent clients. This support currently only supports many single-thread warps / workgroups coordinating over a single lock. This patch uses the support added in the previous patch to test the RPC interface with multiple blocks. Note that this does not work with multiple threads currently because of the effect of warps / workgroups executing in lockstep incorrectly. This will be added later. Depends on D148485 Reviewed By: lntue, sivachandra Differential Revision: https://reviews.llvm.org/D148486
-
Joseph Huber authored
Currently, the RPC interface with the loader is only tested if the other tests fail. This test adds a direct test that runs a simple integer increment over the RPC handshake 10000 times. Depends on https://reviews.llvm.org/D148288 Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D148342
-
Joseph Huber authored
This patch reworks the RPC interface to allow more generic memory operations using the shared better. This patch decomposes the entire RPC interface into opening a port and calling `send` or `recv` on it. The `send` function sends a single packet of the length of the buffer. The `recv` function is paired with the `send` call to then use the data. So, any aribtrary combination of sending packets is possible. The only restriction is that the client initiates the exchange with a `send` while the server consumes it with a `recv`. The operation of this is driven by two independent state machines that tracks the buffer ownership during loads / stores. We keep track of two so that we can transition between a send state and a recv state without an extra wait. State transitions are observed via bit toggling, e.g. This interface supports an efficient `send -> ack -> send -> ack -> send` interface and allows for the last send to be ignored without checking the ack. A following patch will add some more comprehensive testing to this interface. I I informally made an RPC call that simply incremented an integer and it took roughly 10 microsends to complete an RPC call. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D148288
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D148668
-
Noah Goldstein authored
We should not call destructor if value is nullptr. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D148291
-
Jim Ingham authored
-
LLVM GN Syncbot authored
-
Nico Weber authored
See https://reviews.llvm.org/D146591#4281023 -- optimistically assuming that gets done :)
-
Matt Arsenault authored
-
Matt Arsenault authored
This is for parity with CannotBeNegativeZero which is close to droppable.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
This was a bit confused because nofpclass expresses the opposite from what an assume of class expresses. We need to assume the intersection of assumed classes, which also needs to be inverted to convert to nofpclass.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Julian Lettner authored
Differential Revision: https://reviews.llvm.org/D148648
-