omp_is_initial_device in device code was implemented as a builtin
function in D38968 for a better performance. Therefore there is no chance that
this function will be called to deviceRTLs. As we're moving to build deviceRTLs
with OpenMP compiler, this function can lead to a compilation error. This patch
just simply removes it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Yep, thanks. When we replace the builtin with something using variant, we can reinstate this. Until then, & doesn't work anyway.