[llvm] [OpenMP] Do not define '__assert_fail' if we have the GPU libc (PR #100409)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 13:18:02 PDT 2024


================
@@ -26,10 +26,13 @@ using namespace ompx;
 extern "C" {
 void __assert_assume(bool condition) { __builtin_assume(condition); }
 
+#ifndef OMPTARGET_HAS_LIBC
----------------
jhuber6 wrote:

Yeah we should probably do it all at once.

https://github.com/llvm/llvm-project/pull/100409


More information about the llvm-commits mailing list