[flang-commits] [clang] [flang] [llvm] [clang][flang][OpenMP] Fix context selector matching and scoring (PR #224431)
via flang-commits
flang-commits at lists.llvm.org
Fri Sep 25 15:07:39 PDT 2026
================
@@ -2253,6 +2262,8 @@ static void genBodyOfTargetOp(
mlir::Region ®ion = targetOp.getRegion();
genEntryBlock(firOpBuilder, args.asEntryBlockArgs(), region);
+ mlir::SaveStateStack<OpenMPContextFrame> context{
+ converter.getStateStack(), eval, llvm::omp::Directive::OMPD_target};
----------------
MattPD wrote:
Confirmed at 1aa333a: The description now names host-evaluated TARGET operands as an exception.
https://github.com/llvm/llvm-project/pull/224431
More information about the flang-commits
mailing list