1. Aug 01, 2023
    • Mark de Wever's avatar
      [libc++][modules] Fixes exporting named declarations. · e57f6f70
      Mark de Wever authored
      @ChuanqiXu noticed std::atomic was not properly exported in the std module.
      Investigation showed other named declarations were not exported either. This
      fixes the issue.
      
      Depends on D156550
      
      Reviewed By: #libc, philnik
      
      Differential Revision: https://reviews.llvm.org/D156592
      e57f6f70
    • Mark de Wever's avatar
      [libc++][test] Fixes using modules in the test suite. · d7915c8a
      Mark de Wever authored
      Importing modules in the test suite failed due to linker errors. This
      fixes the issue and adds a minimal test to validate importing the std
      module works.
      
      Reviewed By: #libc, philnik
      
      Differential Revision: https://reviews.llvm.org/D156550
      d7915c8a
    • Cyndy Ishida's avatar
      [llvm][tapi-diff] Transition diff-tool to be more general purpose · 5656d797
      Cyndy Ishida authored
      This is the first of transition tapi-diff to be readtapi.
      This tool will eventually replace functionality for Xcode's `xcrun tapi stubify` and
      `xcrun tapi archive`.
      This patch updates the tool name and is a minor refactor for the driver to handle more options.
      
      Reviewed By: zixuw
      
      Differential Revision: https://reviews.llvm.org/D153045
      5656d797
    • Mark de Wever's avatar
      [libc++][CI] Update tools in Docker. · ec39506c
      Mark de Wever authored
      Switch to LLVM-18 as ToT version.
      Use the latest official CMake 3.27 release.
      
      Reviewed By: #libc, philnik
      
      Differential Revision: https://reviews.llvm.org/D156593
      ec39506c
    • Aaron Ballman's avatar
      Update documentation about use of NATVIS · 691b855b
      Aaron Ballman authored
      The docs were still talking about Visual Studio 2013, which we've not
      supported in a while.
      
      I made the documentation a bit more vague because NATVIS is sometimes
      automatically picked up when building and sometimes requires manually
      installing the files. (For me, LLVM NATVIS is automatically picked up
      while Clang NATVIS needs manual installation; this happens because the
      way the monorepo is organized causes confusion when used with Visual
      Studio's built-in CMake functionality. Building from a .sln file
      generated by CMake may have better behavior in this case.)
      691b855b
    • Simon Pilgrim's avatar
      [AMDGPU] AMDGPUTargetStreamer::getArchNameFromElfMach - use GPUKind::GK_NONE... · 17ecb55d
      Simon Pilgrim authored
      [AMDGPU] AMDGPUTargetStreamer::getArchNameFromElfMach - use GPUKind::GK_NONE for unknown AMDGPU ElfMach flags
      
      Avoids issue reported on ea2c159f where objects with unknown subtarget ids were causing llvm_unreachable crashes
      17ecb55d
    • Simon Pilgrim's avatar
      [X86] Allow pre-SSE41 targets to extract multiple v16i8 elements coming from... · 071671e1
      Simon Pilgrim authored
      [X86] Allow pre-SSE41 targets to extract multiple v16i8 elements coming from the same DWORD/WORD super-element
      
      Pre-SSE41 targets tended to have weak (serial) GPR<->VEC moves, meaning we only allowed a single v16i8 extraction before spilling the vector to stack and loading the i8 elements instead. But this didn't make use of the DWORD/WORD extraction we had to use could extract multiple i8 elements at the same time.
      
      This patch attempts to determine if all uses of a vector are element extractions, and works out whether all the extractions share the same WORD or (lowest) DWORD, in which case we can perform a single extraction and just shift/truncate the individual elements.
      
      Differential Revision: https://reviews.llvm.org/D156350
      071671e1
  2. Jul 31, 2023