1. Apr 09, 2023
  2. Apr 08, 2023
    • Mark de Wever's avatar
      [libc++][format] Implements formatter thread::id. · 88622aab
      Mark de Wever authored
      Since stacktrace header is WIP and it's not sure that will be done
      before LLVM17 update the documentation. When the header is implemented
      implementing the formatter is trivial, so that can be done quickly
      afterwards.
      
      Implements parts of:
       - P2693R1 Formatting thread::id and stacktrace
      
      Reviewed By: #libc, ldionne
      
      Differential Revision: https://reviews.llvm.org/D144331
      88622aab
    • Timm Bäder's avatar
      f43adc49
    • Timm Bäder's avatar
      [clang][Interp][NFC] Add test for e7f55bbd · 0260ea3a
      Timm Bäder authored
      0260ea3a
    • Timm Bäder's avatar
    • Mark de Wever's avatar
      [libc++][chrono] Add sys_time formatter. · 2c1d7959
      Mark de Wever authored
      Partially implements:
      - P1361 Integration of chrono with text formatting
      - P2372 Fixing locale handling in chrono formatters
      
      Reviewed By: ldionne, #libc
      
      Differential Revision: https://reviews.llvm.org/D144739
      2c1d7959
    • Mark de Wever's avatar
      [libc++][format] Implements LWG3892. · 9b43aede
      Mark de Wever authored
      This LWG issue is based on the discussion regarding
      
        P2733R3 Fix handling of empty specifiers in std::format
      
      This paper was disussed and changed a few times in LEWG during the
      Issaquah meeting. The paper was not voted in, instead LEWG asked for
      a DR against C++26.
      
      This LWG issue contains the direction voted by LEWG. This issue has not
      been voted in yet. However it fixes some of the defencies on the
      container based formatting. Without this fix the range-default-formatter
      for strings looks bad when used in containers.
      
      The changes of this issue match the intended changes of P27333.
      
      type                      fmt     before     after (if changed)
      ---------------------------------------------------------------
      char                      {}      a
      char                      {:?}    'a'
      array<char, 1>            {}      ['a']
      array<char, 1>            {::}    [a]
      array<char, 1>            {::c}   [a]
      array<char, 1>            {::?}   ['a']
      map<char, char>           {}      {a: a}     -> {'a': 'a'}
      map<char, char>           {::}    {'a': 'a'}
      set<char>                 {}      {'a'}
      set<char>                 {::}    {a}
      set<char>                 {::c}   {a}
      set<char>                 {::?}   {'a'}
      tuple<char>               {}      ('a')
      stack<char>               {}      ['a']
      stack<char>               {::}    [a]
      stack<char>               {::c}   [a]
      stack<char>               {::?}   ['a']
      array<array<char, 1>, 1>  {}      [[a]]      -> {'a': 'a'}
      array<array<char, 1>, 1>  {::}    [['a']]
      array<array<char, 1>, 1>  {:::}   [[a]]
      array<array<char, 1>, 1>  {:::c}  [[a]]
      array<array<char, 1>, 1>  {:::?}  [['a']]
      array<tuple<char>, 1>     {}      [(a)]      -> [('a')]
      tuple<tuple<char>>        {}      ((a))      -> (('a'))
      tuple<array<char, 1>>     {}      ([a])      -> (['a'])
      
      Note the optimization text as mentioned in the tuple formatter can't be
      done. The call to parse may affect the formatter so its state needs to
      be preserved.
      
      Reviewed By: ldionne, #libc, EricWF
      
      Differential Revision: https://reviews.llvm.org/D145847
      9b43aede
    • Florian Hahn's avatar
      [VPlan] Require VFRange.End to be a power-of-2. (NFCI) · c7a34d35
      Florian Hahn authored
      This removes the need to convert the end of the range to the next
      power-of-2 for the end iterator after 4bd3fda5 and was suggested
      as follow-up TODO in D147468.
      c7a34d35
    • Matt Arsenault's avatar
      AMDGPU: Add baseline test for issue 61083 · 7a1044c6
      Matt Arsenault authored
      7a1044c6
    • Matt Arsenault's avatar
      llvm-reduce: Actually change to the temporary directory in test · 2aafb73f
      Matt Arsenault authored
      Hopefully fixes issue #61132
      2aafb73f
    • Matt Arsenault's avatar
      AMDGPU: Fix LiveVariables verifier error for values defined before SI_END_CF · 2a9f1dad
      Matt Arsenault authored
      GlobalISel happens to insert some constant materializes before SI_END_CF
      in one test. These need to be excluded from AliveBlocks since they
      are defined in the original block and used in the split block,
      so they aren't fully alive through either block.
      
      The case where the value defined in the first block which was originally used
      in a later block is still broken.
      
      Avoids a verifier error in a future patch.
      2a9f1dad