forked from OSchip/llvm-project
3d52f72e02
Pass op token location where necessary so that errors on non-affine expressions are reported with accurate/meaningful location pointers. Before: /tmp/parser-affine-map-single.mlir:2:39: error: non-affine expression: at least one of the multiply operands has to be either a constant or symbolic #hello_world = (i, j) [s0, s1] -> (i*j, j) ^ After: /tmp/parser-affine-map-single.mlir:2:37: error: non-affine expression: at least one of the multiply operands has to be either a constant or symbolic #hello_world = (i, j) [s0, s1] -> (i*j, j) ^ PiperOrigin-RevId: 205458508 |
||
---|---|---|
.. | ||
IR | ||
Parser |