[Mlir-commits] [flang] [mlir] [flang][OpenMP] Delayed privatization for variables with `equivalence` association (PR #100531)

Kiran Chandramohan llvmlistbot at llvm.org
Fri Jul 26 03:49:37 PDT 2024


================
@@ -2505,7 +2505,11 @@ LogicalResult PrivateClauseOp::verify() {
              << "Did not expect any values to be yielded.";
     }
 
-    if (yieldedTypes.size() == 1 && yieldedTypes.front() == symType)
+    // TODO How can we check that 2 types are compatible without leaking
----------------
kiranchandramohan wrote:

Can you add suitable `fir.convert` operations to enforce the matching type in the generated code?

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


More information about the Mlir-commits mailing list