[WIP] Sketching IR and parsing support for affine maps, affine expressions
Run test case:
$ mlir-opt test/IR/parser-affine-map.mlir
test/IR/parser-affine-map.mlir:3:30: error: expect '(' at start of map range
#hello_world2 (i, j) [s0] -> i+s0, j)
^
PiperOrigin-RevId: 202736856
This commit is contained in:
committed by
jpienaar
parent
509da7907e
commit
fdf7bc4e25
7
mlir/test/IR/parser-affine-map.mlir
Normal file
7
mlir/test/IR/parser-affine-map.mlir
Normal file
@@ -0,0 +1,7 @@
|
||||
#hello_world0 = (i, j) [s0] -> (i, j)
|
||||
#hello_world1 = (i, j) -> (i, j)
|
||||
#hello_world2 = () -> (0)
|
||||
#hello_world3 = (i, j) [s0] -> (i + s0, j)
|
||||
#hello_world4 = (i, j) [s0] -> (i + s0, j + 5)
|
||||
#hello_world5 (i, j) [s0] -> i + s0, j)
|
||||
#hello_world5 = (i, j) [s0] -> i + s0, j)
|
||||
Reference in New Issue
Block a user