[llvm] [OpenMP] Do not define '__assert_fail' if we have the GPU libc (PR #100409)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 13:16:37 PDT 2024
================
@@ -26,10 +26,13 @@ using namespace ompx;
extern "C" {
void __assert_assume(bool condition) { __builtin_assume(condition); }
+#ifndef OMPTARGET_HAS_LIBC
----------------
shiltian wrote:
Oh didn't notice that. It is indeed an existing one. Okay. Renaming belongs to a separate patch.
https://github.com/llvm/llvm-project/pull/100409
More information about the llvm-commits
mailing list