================ @@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp let hasCanonicalizer = 1; } +def YieldOp : fir_Op<"yield", ---------------- ergawy wrote:
`fir.result` requires its parent op to have the same number of results (https://github.com/llvm/llvm-project/blob/main/flang/lib/Optimizer/Dialect/FIROps.cpp#L3205). The locality specifiers do not have results. https://github.com/llvm/llvm-project/pull/138505 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits