[all-commits] [llvm/llvm-project] 767852: [Clang] Disable `libc` headers for offloading lang...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Jun 22 12:12:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 767852b1a8e38b87fc9a20a28adb0056d1bf2cb8
https://github.com/llvm/llvm-project/commit/767852b1a8e38b87fc9a20a28adb0056d1bf2cb8
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/gpu-libc-headers.c
Log Message:
-----------
[Clang] Disable `libc` headers for offloading languages
These headers are currently broken when included from the offloading
languages like OpenMP, OpenCL, CUDA, and HIP. Turn this logic off so we
can compile these languages when the GPU libc is installed. I am
currently trying to remedy this and have made an RFC for it in libc,
see https://discourse.llvm.org/t/rfc-implementing-gpu-headers-in-the-llvm-c-library/71523.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D153578
More information about the All-commits
mailing list