1. Jan 14, 2021
    • Sanjay Patel's avatar
      [SLP] add reduction test for FMF; NFC · e433ca28
      Sanjay Patel authored
      e433ca28
    • Sam McCall's avatar
      [clangd] Avoid reallocating buffers for each message read: · 466acd69
      Sam McCall authored
       - reuse std::string we read messages into
       - when reading line-wise, use SmallVector<128> and read in chunks of 128
         (this affects headers, which are short, and tests, which don't matter)
      
      Differential Revision: https://reviews.llvm.org/D93653
      466acd69
    • Sam McCall's avatar
      [clangd] Explicitly avoid background-indexing the same file twice. · 66d5994b
      Sam McCall authored
      This used to implicitly never happen due to only discovering each CDB
      once.
      
      We may want to carefully support reindexing one day, but we need to do
      it carefully (tricky tradeoffs) and it would need further support in
      background indexer.
      
      Making this explicit here rather than just turning off rebroadcast in
      background index for a few reasons:
      - allows *new* files in the same CDB to be indexed
      - relying on bugs-at-a-distance cancelling each other out is bound to bite us
      - gets us closer to actually supporting reindexing, which requires similar tracking
      
      Differential Revision: https://reviews.llvm.org/D94503
      66d5994b
    • Terry Wilmarth's avatar
      [OpenMP] Fix hierarchical barrier · 4fe17ada
      Terry Wilmarth authored
      Hierarchical barrier is an experimental barrier algorithm that uses aspects
      of machine hierarchy to define the barrier tree structure. This patch fixes
      offset calculation in hierarchical barrier. The offset is used to store info
      on a flag about sleeping threads waiting on a location stored in the flag.
      This commit also fixes a potential deadlock in hierarchical barrier when
      using infinite blocktime by adjusting the offset value of leaf kids so that
      it matches the value of leaf state. It also adds testing of default barriers
      with infinite blocktime, and also tests hierarchical barrier algorithm with
      both default and infinite blocktime.
      
      Patch by Terry Wilmarth and Nawrin Sultana.
      
      Differential Revision: https://reviews.llvm.org/D94241
      4fe17ada
    • Joseph Huber's avatar
      [OpenMP] Add documentation for error messages and release notes · a9576349
      Joseph Huber authored
      Add extra information to the runtime page describing the error messages and add information to the release notes for clang 12.0
      
      Reviewed By: jdoerfert
      
      Differential Revision: https://reviews.llvm.org/D94562
      a9576349
  2. Jan 13, 2021