[all-commits] [llvm/llvm-project] c6a93f: [libc] Use __builtin_ffsll for RPC lane mask (#85000)

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Mar 12 18:25:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6a93fe80b3cf30ff82d06e959c1177798c858ae
      https://github.com/llvm/llvm-project/commit/c6a93fe80b3cf30ff82d06e959c1177798c858ae
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M libc/src/__support/GPU/utils.h

  Log Message:
  -----------
  [libc] Use __builtin_ffsll for RPC lane mask (#85000)

src/__support/GPU/utils.h doesn't compile on a 32-bit platforms because
__builtin_ffsl uses long which is a 32-bit number. Use __builtin_ffsll
which uses long long which is guaranteed to be at least 64-bits.



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