- Oct 12, 2022
-
-
Haojian Wu authored
We don't use the "instantiate" word for the macro expansion in LLVM, see c9c8419c.
-
Sterling Augustine authored
Libcxx gdb pretty printers were disabled due to an old version of gdb in the release testing. This reenables them, and fixes various bit rot issues from not running them.
-
Chris Bieneman authored
This adds infrastructural pieces for an analysis to compute the DXIL shader flags. In this state the analysis can compute two fairly straightforward feature flags for use of double-precision floating point values and the DX 11.1 extended double support. This patch does conflict with D135190, conflicts will be resolved prior to merging. Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D135393 # Conflicts: # llvm/lib/Target/DirectX/CMakeLists.txt # llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
-
Michele Scandale authored
-
Louis Dionne authored
We already had the ability to do that for libc++.dylib, so this only adds consistency for all the runtime libraries. This should allow working around difficulties on AIX as described in https://llvm.org/D134221. Differential Revision: https://reviews.llvm.org/D135669
-
Louis Dionne authored
Just like we install libc++ and libc++abi headers by default when we install the library, it makes sense to install the libunwind headers by default when we build libunwind. In the current state of things, there is an increased risk that folks are using older (previously installed) libunwind headers along with a recent libunwind dylib, which is not ideal. Differential Revision: https://reviews.llvm.org/D135663
-
Joseph Huber authored
Summary: A previous patch ensured that we can't use `-foffload-lto` with CUDA in non-RDC mode. This did not correctly check for if we were actually offloading to CUDA so it ended up preventing us from using LTO for OpenMP.
-
Joseph Huber authored
Summary: This patch adds an entry to the FAQ that shows how to link CUDA with OpenMP.
-
Joseph Huber authored
Summary: This option forwards a clang flag with a `-no` variant to the Clang compiler. It should use the `hasFlag` so it works properly when the option is overridden.
-
Joseph Huber authored
Summary: This patch adds some documentation in the FAQ regarding multi-architecture binary support using the `--offload-arch` flag.
-
Abinav Puthan Purayil authored
-
Jakub Kuderski authored
Print unsupported types on match failures. Suggested by @Mogball and @jpienaar in D135204. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D135673
-
Arthur Eubanks authored
Similar to D135170. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D135461
-
Abinav Puthan Purayil authored
[AMDGPU] Make the uses_dynamic_stack field in the kernel descriptor and the metadata map specific to code object v5 and later Unfortunately, we have a broken handling of this in the runtime of rocm 5.3. The runtime is expected to handle this correctly when v5 becomes the default. Differential Revision: https://reviews.llvm.org/D134714
-
Yuanfang Chen authored
correlates the option with reponse file concept. Reviewed By: HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D135115
-
Kai Nacke authored
The LIT test cases were migrated with the script provided by Nikita Popov. Due to the size of the change it is split into several parts. Reviewed By: nemanja, nikic Differential Revision: https://reviews.llvm.org/D135474
-
Kai Nacke authored
The LIT test cases were migrated with the script provided by Nikita Popov. Due to the size of the change it is split into several parts. Reviewed By: nemanja, amyk, nikic, PowerPC Differential Revision: https://reviews.llvm.org/D135470
-
Mark de Wever authored
This is mainly to improve the readability of the tests. As a side effects the tests run faster too, Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D135288
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Jessica Paquette authored
This matches patterns of the form ``` (X op Y) == X ``` And transforms them to ``` Y == 0 ``` where appropriate. Example: https://godbolt.org/z/hfW811c7W Differential Revision: https://reviews.llvm.org/D135380
-
Philip Reames authored
The previous code used a APInt(1, 0) to represent the demanded elts of a scalable vector, and then ignored that argument if type was scalable. This was inconsistent with the UndefElts parameter which is set to either APInt(1, 0) or APInt(1,1) - that is, implicitly broadcast across all lanes. Particularly since the undef code relied on the DemandedElts parameter having bitwidth 1 to achieve that result! This change switches the demanded parameter to APInt(1,1), documents the broadcast semantics, and takes advantage of it to remove one special case for scalable vectors which is no longer required.
-
Xiang Li authored
A new EnumArgument ResourceKind is added for HLSLResourceAttr. This will be use to get resource kind instead of parse it from the type name. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D135335
-
- Oct 11, 2022
-
-
Slava Zakharin authored
Differential Revision: https://reviews.llvm.org/D135684
-
Alex Zinenko authored
-
Joe Nash authored
Make support more generic to support future instructions. Currently NFC. Reviewed By: foad, arsenm Differential Revision: https://reviews.llvm.org/D135678
-
Krzysztof Parzyszek authored
-
Nico Weber authored
Ran: git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format -
Pierre van Houtryve authored
Simply folds away bitcasts that cancel each other. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D135146
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D133638
-
Nikita Popov authored
-
Nico Weber authored
-
Philip Reames authored
Update comment, and add an assertion to check property expected by sole (non-test) caller. Remove tests which appear to have been copied from fixed vector tests, and whose demanded bits don't correspond to the way this interface is otherwise used.
-
Florian Hahn authored
LoopRotation may also fold basic blocks, so cached block dispositions also need to be dropped. Fixes #58291.
-
Nico Weber authored
-
Luke Drummond authored
`getFunctionParamOptimizedAlign` was being passed a null function argument when getting the callee of a bitcasted function symbol. This is because `CallBase::getCalledFunction` does not look through bitcasts. There is already code to handle this case in `NVPTXTargetLowering::getArgumentAlignment`, which is now hoisted into an NVPTX util. The alignment computation now gracefully handles computing alignment of virtual functions with a check for null.
-
David Spickett authored
Most of the paths to this never passed nullptr intentionally. Those that possibly could have were assuming it was not null elsehwere, so would have crashed. I've added asserts in those cases. At least one case was relying on GetAsMemoryData to return an error when it was given nullptr. So I've hoisted that error setting code out into the caller. Depends on D134963 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134965
-
Sanjay Patel authored
((Op1 * X) / Y) / Op1 --> X / Y https://alive2.llvm.org/ce/z/JYxWjA InstSimplify handles the more basic mul+div pattern with shared operand, but we don't seem to have any reassociation folds to handle cases where the common op is further away. This is a generalization of 9cff4711 and another transform derived from issue #58137.
-
Sanjay Patel authored
-
Adrian Kuegel authored
-