[Mlir-commits] [mlir] Add support for MLIR to llvm vscale attribute (PR #67012)

Tobias Gysi llvmlistbot at llvm.org
Thu Sep 21 07:12:54 PDT 2023


================
@@ -0,0 +1,9 @@
+// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
+
+llvm.func @vscale_func()
+    vscale_range(2,8) {
+    // CHECK-LABEL: define void @vscale_func
+    // CHECK: attributes #{{.*}} = { vscale_range(2,8) }
+    llvm.return
+}
+
----------------
gysit wrote:

nit: I think both test files have two newlines at the end. Can you drop one so that there is only one newline.

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


More information about the Mlir-commits mailing list