[all-commits] [llvm/llvm-project] 63198e: [libc] Remove remaining GPU architecture dependent...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Feb 13 10:26:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63198e0682058c81cd546cb1851e785cec1387ef
      https://github.com/llvm/llvm-project/commit/63198e0682058c81cd546cb1851e785cec1387ef
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M libc/src/__support/GPU/amdgpu/utils.h
    M libc/src/__support/GPU/nvptx/utils.h
    M libc/src/__support/RPC/rpc_util.h
    M libc/src/time/gpu/nanosleep.cpp
    M libc/src/time/gpu/time_utils.h

  Log Message:
  -----------
  [libc] Remove remaining GPU architecture dependent instructions (#81612)

Summary:
Recent patches have added solutions to the remaining sources of
divergence. This patch simply removes the last occures of things like
`has_builtin`, `ifdef` or builtins with feature requirements. The one
exception here is `nanosleep`, but I made changes in the
`__nvvm_reflect` pass to make usage like this actually work at O0.

Depends on https://github.com/llvm/llvm-project/pull/81331




More information about the All-commits mailing list