[PATCH] D120353: [OpenMP] Add option to make offloading mandatory

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 23 09:35:10 PST 2022


jhuber6 added a comment.

In D120353#3340775 <https://reviews.llvm.org/D120353#3340775>, @ABataev wrote:

> I assume it would be good to notify the user somehow about target regions, which may require execution on the host. Maybe add a note during the codegen phase?

Technically all of them may require execution on the host according to the documentation. We could emit a warning whenever we codegen a target region with an `if` clause, but I feel the user should have a good enough idea that `if` won't work if they specifically turn on the flag that removes host execution.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120353



More information about the cfe-commits mailing list