[Mlir-commits] [mlir] Add support for MLIR to llvm vscale attribute (PR #67012)
Christian Ulmann
llvmlistbot at llvm.org
Fri Sep 22 06:42:42 PDT 2023
================
@@ -0,0 +1,7 @@
+// 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
+}
----------------
Dinistro wrote:
```suggestion
llvm.func @vscale_func() vscale_range(2,8) {
// CHECK-LABEL: define void @vscale_func
// CHECK: attributes #{{.*}} = { vscale_range(2,8) }
llvm.return
}
```
https://github.com/llvm/llvm-project/pull/67012
More information about the Mlir-commits
mailing list