1. Jan 12, 2021
    • Paul Robinson's avatar
      [FastISel] Flush local value map on every instruction · c161775d
      Paul Robinson authored
      Local values are constants or addresses that can't be folded into
      the instruction that uses them. FastISel materializes these in a
      "local value" area that always dominates the current insertion
      point, to try to avoid materializing these values more than once
      (per block).
      
      https://reviews.llvm.org/D43093 added code to sink these local
      value instructions to their first use, which has two beneficial
      effects. One, it is likely to avoid some unnecessary spills and
      reloads; two, it allows us to attach the debug location of the
      user to the local value instruction. The latter effect can
      improve the debugging experience for debuggers with a "set next
      statement" feature, such as the Visual Studio debugger and PS4
      debugger, because instructions to set up constants for a given
      statement will be associated with the appropriate source line.
      
      There are also some constants (primarily addresses) that could be
      produced by no-op casts or GEP instructions; the main differ...
      c161775d
    • Paul Robinson's avatar
      NFC: Use -LABEL more · e5eb5c8a
      Paul Robinson authored
      There were a number of tests needing updates for D91734, and I added a
      bunch of LABEL directives to help track down where those had to go.
      These directives are an improvement independent of the functional
      patch, so I'm committing them as their own separate patch.
      e5eb5c8a
    • Nathan James's avatar
      [clangd] Remove ScratchFS from tests · 31732e6f
      Nathan James authored
      This can lead to issues if files in the tmp directory we don't care about / control are found.
      This was partially addressed in D94321, but this is a more permanent fix.
      Fixes https://github.com/clangd/clangd/issues/354
      
      Reviewed By: adamcz, sammccall
      
      Differential Revision: https://reviews.llvm.org/D94359
      31732e6f
    • Giorgis Georgakoudis's avatar
      [OpenMPOpt][WIP] Expand parallel region merging · 97517055
      Giorgis Georgakoudis authored
      The existing implementation of parallel region merging applies only to
      consecutive parallel regions that have speculatable sequential
      instructions in-between. This patch lifts this limitation to expand
      merging with any sequential instructions in-between, except calls to
      unmergable OpenMP runtime functions. In-between sequential instructions
      in the merged region are sequentialized in a "master" region and any
      output values are broadcasted to the following parallel regions and the
      sequential region continuation of the merged region.
      
      Reviewed By: jdoerfert
      
      Differential Revision: https://reviews.llvm.org/D90909
      97517055
  2. Jan 11, 2021