[Mlir-commits] [mlir] [flang][OpenMP] Translate OpenMP scopes when compiling for target device (PR #130078)
Pranav Bhandarkar
llvmlistbot at llvm.org
Mon Mar 10 12:56:31 PDT 2025
================
@@ -5255,6 +5283,51 @@ convertTargetOpsInNest(Operation *op, llvm::IRBuilderBase &builder,
return WalkResult::interrupt();
return WalkResult::skip();
}
+
+ // Non-target ops might nest target-related ops, therefore, we
+ // translate them as non-OpenMP scopes. Translating them is needed by
+ // nested target-related ops since they might LLVM values defined in
----------------
bhandarkar-pranav wrote:
`s/they might LLVM values/they might need LLVM values/`
https://github.com/llvm/llvm-project/pull/130078
More information about the Mlir-commits
mailing list