[PATCH] D123693: Transform illegal intrinsics to V_ILLEGAL
Dmitry Mikushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 29 11:05:45 PDT 2022
dmikushin added a comment.
Thanks for working on this. Debug build of PyTorch (`BUILD_DEBUG_INFO=1`) is affected by this. Here is a creduce'd code which crashes rocm5.1.1 clang that you could possibly inciude into the test cases (compile with -O0):
extern "C" __attribute__((device)) void __ockl_atomic_add_noret_f32(float *,
float);
__attribute__((device)) void a(float *address, float b) {
__ockl_atomic_add_noret_f32(address, b);
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123693/new/
https://reviews.llvm.org/D123693
More information about the llvm-commits
mailing list