[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:02:54 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:

I think there's a lot of other stuff we'd need to clean up so it'd be easier to do that all at once.

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


More information about the llvm-commits mailing list