Mercurial > hg > CbC > CbC_llvm
view mlir/test/Examples/Toy/Ch7/invalid.mlir @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: not toyc-ch7 %s -emit=mlir 2>&1 // The following IR is not "valid": // - toy.print should not return a value. // - toy.print should take an argument. // - There should be a block terminator. func @main() { %0 = "toy.print"() : () -> tensor<2x3xf64> }