[all-commits] [llvm/llvm-project] e3d2a7: [libc] Compile the GPU functions with '-fconvergen...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Oct 25 12:13:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3d2a7d0a51b7836d70e580aaf1b08ea5da45a3b
https://github.com/llvm/llvm-project/commit/e3d2a7d0a51b7836d70e580aaf1b08ea5da45a3b
Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths:
M libc/cmake/modules/LLVMLibCObjectRules.cmake
Log Message:
-----------
[libc] Compile the GPU functions with '-fconvergent-functions' (#70229)
Summary:
This patch simply adds the `-fconvergent-functions` flag to the GPU
compilation. This is in relation to the behaviour of SIMT
architectures under divergence. With the flag, we assume every function
is convergent by default and rely on the compiler's divergence analysis
to transform it if possible.
Fixes: https://github.com/llvm/llvm-project/issues/63853
More information about the All-commits
mailing list