diff options
Diffstat (limited to 'mlir/test/Examples/Toy/Ch2/ast.toy')
| -rw-r--r-- | mlir/test/Examples/Toy/Ch2/ast.toy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/test/Examples/Toy/Ch2/ast.toy b/mlir/test/Examples/Toy/Ch2/ast.toy index 55b9efc7314..5f399372f60 100644 --- a/mlir/test/Examples/Toy/Ch2/ast.toy +++ b/mlir/test/Examples/Toy/Ch2/ast.toy @@ -25,7 +25,7 @@ def main() { var e = multiply_transpose(b, c); # Finally, calling into `multiply_transpose` with incompatible shape will # trigger a shape inference error. - var e = multiply_transpose(transpose(a), c); + var f = multiply_transpose(transpose(a), c); } @@ -66,7 +66,7 @@ def main() { # CHECK-NEXT: var: b @{{.*}}ast.toy:25:30 # CHECK-NEXT: var: c @{{.*}}ast.toy:25:33 # CHECK-NEXT: ] -# CHECK-NEXT: VarDecl e<> @{{.*}}ast.toy:28:3 +# CHECK-NEXT: VarDecl f<> @{{.*}}ast.toy:28:3 # CHECK-NEXT: Call 'multiply_transpose' [ @{{.*}}ast.toy:28:11 # CHECK-NEXT: Call 'transpose' [ @{{.*}}ast.toy:28:30 # CHECK-NEXT: var: a @{{.*}}ast.toy:28:40 |

