[Mlir-commits] [mlir] [mlir][LLVMIR][OpenMP] fix dominance for reduction init block (PR #96052)

Mats Petersson llvmlistbot at llvm.org
Wed Jun 19 10:00:47 PDT 2024


================
@@ -0,0 +1,342 @@
+// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
+
+// generated by flang-new:
+// subroutine missordered_blocks(x,y)
+//   integer, allocatable :: x, y
+//   !$omp parallel reduction(+:x,y)
+//   x = 42
+//   y = 24
+//   !$omp end parallel
+// end subroutine
+
+// This is basically a test that we don't crash while translating this IR
----------------
Leporacanthicus wrote:

Did you borrow my comment? ;)

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


More information about the Mlir-commits mailing list