[flang] [llvm] [mlir] [Flang]Fix for changed code at the end of AllocaIP. (PR #92430)

Mats Petersson via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 03:49:54 PDT 2024


================
@@ -1217,7 +1221,10 @@ convertOmpParallel(omp::ParallelOp opInst, llvm::IRBuilderBase &builder,
       assert(phis.size() == 1 &&
              "expected one value to be yielded from the "
              "reduction neutral element declaration region");
-
+      if (initBlock)
----------------
Leporacanthicus wrote:

Good point. I wanted to ONLY fix the things that actually were broken - doing this "always" meant fixing another couple of places.

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


More information about the llvm-commits mailing list