[llvm] [OpenMP][OMPIRBuilder] Add support to omp target parallel (PR #67000)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 14:41:24 PDT 2023


================
@@ -522,6 +522,7 @@ struct OMPInformationCache : public InformationCache {
   void recollectUses() {
     for (int Idx = 0; Idx < RFIs.size(); ++Idx)
       recollectUsesForFunction(static_cast<RuntimeFunction>(Idx));
+    OMPBuilder.Config.IsTargetDevice = isOpenMPDevice(OMPBuilder.M);
----------------
shraiysh wrote:

Okay, thanks for the explanation.

https://github.com/llvm/llvm-project/pull/67000


More information about the llvm-commits mailing list