- Oct 22, 2023
-
-
Finn Plummer authored
Due to an issue when lowering from scf to spirv as there was no conversion pass for index to spirv, we are motivated to add a conversion pass from the Index dialect to the SPIR-V dialect. Furthermore, we add the new conversion patterns to the scf-to-spirv conversion. Fixes https://github.com/llvm/llvm-project/issues/63713 --------- Co-authored-by:
Jeremy Kun <jkun@google.com>
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Tom Yang authored
When the debug info refers to a dwo with relative `DW_AT_comp_dir` and `DW_AT_dwo_name`, we only print the `DW_AT_comp_dir` in our error message if we can't find it. This often isn't very helpful, especially when the `DW_AT_comp_dir` is ".": ``` (lldb) fr v error: unable to locate .dwo debug file "." for skeleton DIE 0x000000000000003c ``` I'm updating the error message to include both `DW_AT_comp_dir` (if it exists) and `DW_AT_dwo_name` when the `DW_AT_dwo_name` is relative. The behavior when `DW_AT_dwo_name` is absolute should be the same.
-
Aiden Grossman authored
There still seem to be issues with the files changed step taking a significant amount of time on PRs. This seems to be occurring on PRs with one commit and not on PRs with more than one commit which is why I didn't catch this nuance before. Either way, fetching an additional commit seems to fix the issue. Requires a little bit of hackiness due to the fact that you can't do math in the github actions variables. Will be monitoring this over the next little bit to see if this actually fixes the problem. CI stuff is annoying sometimes.
-
Jacques Pienaar authored
Fixes #61247.
-
Jacques Pienaar authored
-
Aiden Grossman authored
This patch adds a step to build the lldb docs when they change to the Github docs action, enabling easy triage of warnings/docs build failures during the PR process.
-
Aiden Grossman authored
This patch adds the clang-tools-extra docs to the Github CI job that builds docs, enabling the ability to easily ensure the docs build properly without warnings in PRs and at the tip of tree.
-
Johannes Doerfert authored
The test initially showed we do no crash but compute the wrong GPU result, now we show the CPU result is correct and disable GPU testing.
-
Johannes Doerfert authored
The patch contains a basic BumpAllocator for (AMD)GPUs to allow us to run more tests. The allocator implements `malloc`, both internally and externally, while we continue to default to the NVIDIA `malloc` when we target NVIDIA GPUs. Once we have smarter or customizable allocators we should consider this choice, for now, this allocator is better than none. It traps if it is out of memory, making it easy to debug. Heap size is configured via `LIBOMPTARGET_HEAP_SIZE` and defaults to 512MB. It allows to track allocation statistics via `LIBOMPTARGET_DEVICE_RTL_DEBUG=8` (together with `-fopenmp-target-debug=8`). Two tests were added, and one was enabled. This is the next step towards fixing https://github.com/llvm/llvm-project/issues/66708
-
Johannes Doerfert authored
The nested parallelism causes thread states which still do not properly work but at least don't crash anymore.
-
Florian Hahn authored
Reductions with intermediate stores currently need to be fixed in order of their intermediate stores. Instead of doing this at fixup time after code has been generated, sort the reductions in adjustRecipesForReductions. This makes the order explicit in VPlan and will enable removing fixReductions with modeling computing the final reduction result in VPlan, followed by also modeling the intermediate stores explicitly.
-
Martin Storsjö authored
In mingw mode, all linker paths are passed explicitly to the linker by the compiler driver. Don't try to implicitly add linker paths from the LIB environment variable or by detecting an MSVC installation directory. If the /winsysroot command line parameter is explicitly passed to lld-link while /lldmingw is specified, it could be considered reasonable to actually include those paths. However, modifying the code to handle only the /winsysroot case but not the other ones, when the mingw mode has been enabled, seems like much more code complexity for a mostly hypothetical case. Add a test for this when case when using LIB. (The code paths for trying to detect an MSVC installation aren't really regression tested.) Also fix an issue in the existing test for "Check that when /winsysroot is specified, %LIB% is ignored.", where the LIB variable pointed to a nonexistent directory, so the test would pass even if /winsysroot wouldn't be specified. Reland this after https://github.com/llvm/llvm-project/pull/68077 and https://github.com/llvm/llvm-project/pull/69781 - the compiler-rt test that used -lldmingw in MSVC environments has been updated to use a more specific option. Differential Revision: https://reviews.llvm.org/D144084
-
Johannes Doerfert authored
If a potential interfering access is in a different kernel and the underlying object has kernel lifetime we can straight out ignore the interfering access. TODO: This should be made much stronger via "reaching kernels", which we already track in AAKernelInfo.
-
Johannes Doerfert authored
-
Jason Molenda authored
Before target.xml, lldb had its own method for querying the remote stub of the registers it supports, qRegisterInfo. The gdb standard method of using a target.xml file to describe the available registers has become commonplace, and the lldb method for doing this is no longer needed. Stubs should describe their registers to lldb, but it should be with the target.xml file.
-
Craig Topper authored
I did this once previously, but more uses have crept in.
-
- Oct 21, 2023
-
-
Ben Shi authored
-
Chris B authored
This allows git-clang-format to be used on a Windows terminal without manually needing to find the path and invoke the python interpreter. We have a similar script for `scan-build`. Fixes #69643
-
Brad Smith authored
GCC defines this macro for how many single-precision floating point registers can be used. If the -mno-odd-spreg option is given, it will be 16; if either -mno-odd-spreg nor -modd-spreg are given, we set it to 16 for FPXX. Reviewed By: theraven Differential Revision: https://reviews.llvm.org/D157896
-
Piotr Zegar authored
Change current tables to avoid cell spanning.
-
Aiden Grossman authored
The SPHINX_OUTPUT_HTML and SPHINX_OUTPUT_MAN CMake flags are by default set to ON/True in ./llvm/cmake/modules/FindSphinx.cmake, so we don't need to set them true again within the CMake invocation.
-
Brad Smith authored
-
Carl Ritson authored
Follow up fix for #68786 to address that MachineFunction handleInsertion is actually called before a new instruction has been inserted into the block. Hence new instructions must be recorded and SlotIndex updates performed after the delegate call.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Martin Storsjö authored
Prefer the new flag -lld-allow-duplicate-weak (which was added recently in a67ae8c0), over the old -lldmingw. The -lldmingw option enables a number of different behaviours, while this test only is interested in one aspect of them. This should allow making -lldmingw more strict with not enabling MSVC specific behaviours like inferring lib directories automatically from the environment, as being pursued in https://reviews.llvm.org/D144084.
-
Will Hawkins authored
When the user specifies `LIBCXX_HARDENING_MODE` on the command line in a bootstrapping build, it should override the setting implied by `LLVM_ENABLE_ASSERTIONS`.
-
Kazu Hirata authored
This patch fixes: compiler-rt/lib/builtins/int_to_fp_impl.inc:22:18: error: expression is not an integer constant expression; folding it to a constant is a GNU extension [-Werror,-Wgnu-folding-constant] by using enum for constants.
-
Matt Harding authored
There were a couple of typos of "If" -> "In" in Debug.h
-
Brad Smith authored
-
Aiden Fox Ivey authored
Not too much to change here. Just found some issues with the flang GettingStarted.md file and wanted to sort it out.
-
Arseny authored
When this file is included in a project compiled with GCC 13 `-Werror`, compilation fails with the following diagnostic: <pre> /usr/lib/llvm-17.0/include/clang/AST/TypeLoc.h: In constructor 'clang::TypeSourceInfo::TypeSourceInfo(clang::QualType, size_t)': /usr/lib/llvm-17.0/include/clang/AST/TypeLoc.h:245:9: error: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class clang::TypeSourceInfo'; use assignment instead [-Werror=class-memaccess] 245 | memset(this + 1, 0, DataSize); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ </pre> To avoid this, we add an explicit type cast. The cast to `void*` makes sense, since other member functions of `TypeSourceInfo` also treat the buffer `(this + 1)` of length `DataSize` as opaque memory, and was likely left out by mistake. Fixes: 4498663f ("[AST] Initialized data after TypeSourceInfo") I also suggest to apply this to release/17.x if possible. -
Artur Pilipenko authored
Print the name of the module/function/loop the pass ran on.
-
max authored
-