[all-commits] [llvm/llvm-project] 911cb6: [libc++] Use __array_rank in Clang versions withou...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri Apr 25 01:36:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 911cb60975b1b8d2dc695e3e57c2e4c0db303e12
      https://github.com/llvm/llvm-project/commit/911cb60975b1b8d2dc695e3e57c2e4c0db303e12
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M libcxx/include/__type_traits/rank.h

  Log Message:
  -----------
  [libc++] Use __array_rank in Clang versions without any known bugs (#136103)

There was a bug in the implementation of `__array_rank` until LLVM 20
which prevented us from using the builtin. Since the bug has been fixed
now we can enable the use and remove the generic implementation in a few
releases.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list