[all-commits] [llvm/llvm-project] 27a80f: [libc] Replace use of `asm` in the GPU code with L...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jun 6 12:25:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27a80fc946186257899bce5256951b4e35b7e8c3
https://github.com/llvm/llvm-project/commit/27a80fc946186257899bce5256951b4e35b7e8c3
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-06-06 (Tue, 06 Jun 2023)
Changed paths:
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/RPC/rpc_util.h
Log Message:
-----------
[libc] Replace use of `asm` in the GPU code with LIBC_INLINE_ASM
We should more consistently use inline assembly using the LIBC wrappers.
It's much safer to mark all of these volatile as well.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D152294
More information about the All-commits
mailing list