[Mlir-commits] [mlir] [OpenMP] Enable simd in non-reduction composite constructs (PR #146097)
Kajetan Puchalski
llvmlistbot at llvm.org
Mon Jun 30 05:44:49 PDT 2025
================
@@ -0,0 +1,30 @@
+// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
+
+// Check that omp.simd as a leaf of a composite construct still generates
+// the appropriate loop vectorization attribute.
+
+// CHECK-LABEL: define internal void @test_parallel_do_simd..omp_par
+// CHECK: ![[VAL:.*]] = !{!"llvm.loop.vectorize.enable", i1 true}
----------------
mrkajetanp wrote:
no problem, done :)
https://github.com/llvm/llvm-project/pull/146097
More information about the Mlir-commits
mailing list