diff options
author | Patrick Quist <partouf@gmail.com> | 2023-03-30 18:20:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 18:20:56 +0200 |
commit | 4774334493de497b27fe7b26a01070e1e3ae85b9 (patch) | |
tree | 02b92998df816871f1b3c279108c5cd4f8a8b39f /examples | |
parent | 2f6902a536bf5e92056df20c914b7a0a7b78d228 (diff) | |
download | compiler-explorer-4774334493de497b27fe7b26a01070e1e3ae85b9.tar.gz compiler-explorer-4774334493de497b27fe7b26a01070e1e3ae85b9.zip |
Add MLIR 16.0.0 (#4892)gh-6964
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mlir/default.mlir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mlir/default.mlir b/examples/mlir/default.mlir index 9b32f2ef9..ea63cb14e 100644 --- a/examples/mlir/default.mlir +++ b/examples/mlir/default.mlir @@ -2,7 +2,7 @@ // MLIR example code may not always work out of the box because the textual MLIR format is not stable. // The example tries to be compatible with the latest MLIR version, which may not work on previous versions. -func @affine_parallel_with_reductions_i64(%arg0: memref<3x3xi64>, %arg1: memref<3x3xi64>) -> (i64, i64) { +func.func @affine_parallel_with_reductions_i64(%arg0: memref<3x3xi64>, %arg1: memref<3x3xi64>) -> (i64, i64) { %0:2 = affine.parallel (%kx, %ky) = (0, 0) to (2, 2) reduce ("addi", "muli") -> (i64, i64) { %1 = affine.load %arg0[%kx, %ky] : memref<3x3xi64> %2 = affine.load %arg1[%kx, %ky] : memref<3x3xi64> |