1. Oct 22, 2023
    • Mehdi Amini's avatar
    • Tom Yang's avatar
      [lldb] improve dwo path in missing dwo error when relative (#69783) · 74ca0729
      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.
      74ca0729
    • Aiden Grossman's avatar
      [Github] Fetch an additional commit for docs CI on PRs · 6250afe3
      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.
      6250afe3
    • Jacques Pienaar's avatar
      [mlir][doc] Add basic doc for extraTraitClassDeclaration. · 196a09f4
      Jacques Pienaar authored
      Fixes #61247.
      196a09f4
    • Jacques Pienaar's avatar
      01ea5281
    • Aiden Grossman's avatar
      [Github] Add lldb docs step to Github docs action (#69832) · 5ce45e9d
      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.
      5ce45e9d
    • Aiden Grossman's avatar
      [Github] Add clang-tools-extra docs to CI (#69827) · 40a5044a
      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.
      40a5044a
    • Johannes Doerfert's avatar
      [OpenMP] Rewrite test to check the correct (CPU) result · 87dac9f1
      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.
      87dac9f1
    • Johannes Doerfert's avatar
      [OpenMP] Basic BumpAllocator for (AMD)GPUs (#69806) · d3921e46
      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
      d3921e46
    • Johannes Doerfert's avatar
      [OpenMP][FIX] Ensure thread states do not crash on the GPU · d571af7f
      Johannes Doerfert authored
      The nested parallelism causes thread states which still do not properly
      work but at least don't crash anymore.
      d571af7f
    • Florian Hahn's avatar
      [LV] Enforce order of reductions with intermediate stores in VPlan (NFC) · ca01f2af
      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.
      ca01f2af
    • Martin Storsjö's avatar
      Reland [LLD] [COFF] Don't try to detect MSVC installations in mingw mode · 241c290a
      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
      241c290a
    • Johannes Doerfert's avatar
      [Attributor] Ignore different kernels for kernel lifetime objects · ba87fba8
      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.
      ba87fba8
    • Johannes Doerfert's avatar
      [Attributor][NFC] Precommit test · bb96093c
      Johannes Doerfert authored
      bb96093c
    • Jason Molenda's avatar
      [lldb] Update qRegisterInfo docs to recommend target.xml (#69853) · ed0bb947
      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.
      ed0bb947
    • Craig Topper's avatar
      [RISCV] Replace RISCV -> RISC-V in comments. NFC · 44d4f975
      Craig Topper authored
      I did this once previously, but more uses have crept in.
      44d4f975
  2. Oct 21, 2023