1. Apr 04, 2024
  2. Mar 29, 2024
    • Tom Eccles's avatar
      [mlir][OpenMP] map argument to reduction initialization region · aa5f8432
      Tom Eccles authored
      The argument to the initialization region of reduction declarations was
      never mapped. This meant that if this argument was accessed inside the
      initialization region, that mlir operation would be translated to an
      llvm operation with a null argument (failing verification).
      
      Adding the mapping ensures that the right LLVM value can be found when
      inlining and converting the initialization region.
      
      We have to separately establish and clean up these mappings for each use
      of the reduction declaration because repeated usage of the same
      declaration will inline it using a different concrete value for the
      block argument.
      aa5f8432
    • Tom Eccles's avatar
  3. Mar 28, 2024
    • Jason Molenda's avatar
      [lldb] Revive shell test after updating UnwindTable (#86770) · 6a0ec8e2
      Jason Molenda authored
      In
           commit 2f63718f
           Author: Jason Molenda <jmolenda@apple.com>
           Date:   Tue Mar 26 09:07:15 2024 -0700
      
      [lldb] Don't clear a Module's UnwindTable when adding a SymbolFile
      (#86603)
      
      I stopped clearing a Module's UnwindTable when we add a SymbolFile to
      avoid the memory management problems with adding a symbol file
      asynchronously while the UnwindTable is being accessed on another
      thread. This broke the target-symbols-add-unwind.test shell test on
      Linux which removes the DWARF debub_frame section from a binary, loads
      it, then loads the unstripped binary with the DWARF debug_frame section
      and checks that the UnwindPlans for a function include debug_frame.
      
      I originally decided that I was willing to sacrifice the possiblity of
      additional unwind sources from a symbol file because we rely on assembly
      emulation so heavily, they're rarely critical. But there are targets
      where we we don't have emluation and rely on things like DWARF
      debug_frame a lot more, so this probably wasn't a good choice.
      
      This patch adds a new UnwindTable::Update method which looks for any new
      sources of unwind information and adds it to the UnwindTable, and calls
      that after a new SymbolFile has been added to a Module.
      6a0ec8e2
    • Marc Auberer's avatar
      [libc] Remove obsolete LIBC_HAS_BUILTIN macro (#86554) · 77118536
      Marc Auberer authored
      Fixes #86546 and removes the macro `LIBC_HAS_BUILTIN`. This was
      necessary to support older compilers that did not support
      `__has_builtin`. All of the compilers we support already have this
      builtin.
      See: https://libc.llvm.org/compiler_support.html
      All uses now use `__has_builtin` directly
      
      cc @nickdesaulniers
      77118536
    • Simon Pilgrim's avatar
      Revert rG58de1e2c "Fix stack layout for frames... · 78f0871b
      Simon Pilgrim authored
      Revert rG58de1e2c "Fix stack layout for frames larger than 2gb (#84114)"
      
      This is failing on some EXPENSIVE_CHECKS buildbots
      78f0871b
    • David Green's avatar
      [ARM][MVE] Remove kill flags when reusing VPR register. (#86300) · 313bf28f
      David Green authored
      The vpr register may no longer be killed where it was, so we should be
      removing the kill flags.
      313bf28f
  4. Mar 27, 2024