[flang-commits] [flang] [llvm] [flang][MIF] Adding lowering for EVENT POST/WAIT statements (PR #210283)

via flang-commits flang-commits at lists.llvm.org
Sat Oct 10 23:34:48 PDT 2026


================
@@ -1145,8 +1266,9 @@ struct MIFAllocCoarrayOpConversion
     fir::FirOpBuilder builder(rewriter, mod);
     mlir::Location loc = op.getLoc();
 
+    mlir::Type i32Ty = builder.getI32Type();
----------------
MattPD wrote:

`i32Ty` is unused, so Clang warns with `-Wunused-variable`. The premerge CI uses `-DLLVM_ENABLE_WERROR=ON`, so this warning would fail the premerge build.

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


More information about the flang-commits mailing list