Issue |
143911
|
Summary |
[CUDA] Generates a call to libc abort in device code, which fails to link
|
Labels |
libc
|
Assignees |
|
Reporter |
zwliew
|
Reproducer:
https://godbolt.org/z/9qrdGE55d
When trying to call `__builtin_abort()` in __device__ or __global__ code, clang doesn't throw a compilation error, instead generating the `call.uni abort` instruction. This then fails at link-time because
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs