1. Aug 31, 2021
    • Louis Dionne's avatar
      [libc++] Various cleanups in the ranges tests · 770602cf
      Louis Dionne authored
      - Rename test files to follow conventions better
      - Split constructor tests that were in a single file
      - Add missing tests for take_view and transform_view's default constructors
      - Add missing tests for transform_view's view/function constructor
      - Fix include guards
      - Mark some tests as being specific to libc++
      
      Differential Revision: https://reviews.llvm.org/D108829
      770602cf
    • Nico Weber's avatar
      [lld/mac] Set branchRange a bit more carefully · 97211975
      Nico Weber authored
      - Don't subtract thunkSize from branchRange. Most places care about
        the actual maximal branch range. Subtract thunkSize in the one place
        that wants to leave room for a thunk.
      - Set it to 0x800_0000 instead of 0xFF_FFFF
      - Subtract 4 for the positive branch direction since it's a
        two's complement 24bit number sign-extended mutiplied by 4,
        so its range is -0x800_0000..+0x7FF_FFFC
      - Make boundary checks include the boundary values
      
      This doesn't make a huge difference in practice. It's preparation
      for a "real" fix for PR51578 -- but it also lets the repro in comment 0
      in that bug place one more thunk before hitting the TODO.
      
      Differential Revision: https://reviews.llvm.org/D108897
      97211975
    • Andrew Litteken's avatar
      [IROutliner] Ensure instructions at end of candidate are excluded · f564299f
      Andrew Litteken authored
      Occasionally instructions are between the last instruction in a region,
      and the following instruction as identified by the Candidate.  This
      adds an extra check right before splitting a candidate that excludes the region from being split/checked for outlining to remove errors.
      
      Tests Added:
      Tranforms/IROuutliner/outlining-extra-bitcasts.ll
      
      Reviewer: paquette, jroelofs
      
      Differential Revision: https://reviews.llvm.org/D104142
      f564299f
    • Daniil Fukalov's avatar
      [AMDGPU][CostModel] Update shuffle instruction tests. NFC. · 5b3fad49
      Daniil Fukalov authored
      New tests ported over from test/Analysis/CostModel/AArch64/shuffle-other.ll.
      5b3fad49
    • Kazu Hirata's avatar
      [llvm] Remove redundant calls to str() and c_str() (NFC) · c50faffb
      Kazu Hirata authored
      Identified with readability-redundant-string-cstr.
      c50faffb
  2. Aug 30, 2021