1. Apr 13, 2024
  2. Apr 12, 2024
  3. Apr 11, 2024
    • Nikolas Klauser's avatar
      [libc++][NFC] Reduce the memory footprint of __copy_cv a bit (#87718) · b63fe0d7
      Nikolas Klauser authored
      Instead of instantiating `__copy_cv` for every combination of `_From`
      and `_To` this only instantiates `__copy_cv` for every `_From` type,
      reducing the number of instantiations.
      b63fe0d7
    • Xu Zhang's avatar
      [libc][docs] Generate docs for signal.h & optimized is_implemented func (#88028) · 7ab7e7a5
      Xu Zhang authored
      
      Fixes #87835
      
      This patch added the documentation for the POSIX functions according to
      [n3096](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf)
      Section 7.14, and gives the *docgen.py* script a more elegant *is_implemented*
      function.
      7ab7e7a5
    • Simon Pilgrim's avatar
      [X86] LowerBITREVERSE - support SSE-only GFNI i32/i64 bitreverse · ffb5bea2
      Simon Pilgrim authored
      Support Tremont CPUs which don't have AVX but do have GFNI.
      
      Noticed while trying to workout how to clean up the costmodel for GFNI bitreverse
      ffb5bea2
    • Raghu Maddhipatla's avatar
      [Flang] [OpenMP] [MLIR] [Lowering] Add lowering support for IS_DEVICE_PTR and... · 298ea9bf
      Raghu Maddhipatla authored
       [Flang] [OpenMP] [MLIR] [Lowering] Add lowering support for IS_DEVICE_PTR and HAS_DEVICE_ADDR clauses on OMP TARGET directive.  (#88206)
      
      Added lowering support for IS_DEVICE_PTR and HAS_DEVICE_ADDR clauses for
      OMP TARGET directive and added related tests for these changes.
      
      IS_DEVICE_PTR and HAS_DEVICE_ADDR clauses apply to OMP TARGET directive
      OpenMP spec states
      
      The **is_device_ptr** clause indicates that its list items are device
      pointers.
      
      The **has_device_addr** clause indicates that its list items already
      have device addresses and therefore they may be directly accessed from a
      target device.
      
      Whereas USE_DEVICE_PTR and USE_DEVICE_ADDR clauses apply to OMP TARGET
      DATA directive and OpenMP spec for them states
      
      Each list item in the **use_device_ptr** clause results in a new list
      item that is a device pointer that refers to a device address
      
      Each list item in a **use_device_addr** clause that is present in the
      device data environment is treated as if it is implicitly mapped by a
      map clause on the construct with a map-type of alloc
      
      Fixed build error caused by Squash merge which needs rebase
      298ea9bf