[PATCH] D94871: [Clang][OpenMP] Fixed an issue that clang crashed when compiling OpenMP program in device only mode without host IR

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 17 13:15:51 PST 2021


jdoerfert added a comment.

Here is a minimal reproducer for the issue even without standalone device compilation (and I can build the situation in various other ways as well): https://godbolt.org/z/T1h9b5
Can you add it as a test, I am also curious how the IR looks like with this patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94871/new/

https://reviews.llvm.org/D94871



More information about the cfe-commits mailing list