summaryrefslogtreecommitdiff
path: root/toyc.cpp
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2019-04-27 19:05:25 -0600
committerTuowen Zhao <ztuowen@gmail.com>2019-04-27 19:05:25 -0600
commit0781257b2a8d544abdcce38824a9b8288a04800d (patch)
tree365cea96de343e354913f90b35fc944e4459b2e9 /toyc.cpp
parent4127831a28e31ac53ffdb1d7e7a88dd7d6317c6e (diff)
downloadmlir-toy-0781257b2a8d544abdcce38824a9b8288a04800d.tar.gz
mlir-toy-0781257b2a8d544abdcce38824a9b8288a04800d.tar.bz2
mlir-toy-0781257b2a8d544abdcce38824a9b8288a04800d.zip
Split toy dialect using static registration
Diffstat (limited to 'toyc.cpp')
-rw-r--r--toyc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/toyc.cpp b/toyc.cpp
index 6c50191..506a141 100644
--- a/toyc.cpp
+++ b/toyc.cpp
@@ -297,9 +297,6 @@ int dumpAST() {
int main(int argc, char **argv) {
// Register our Dialects with MLIR
- mlir::registerDialect<ToyDialect>();
- mlir::registerDialect<linalg::LinalgDialect>();
-
mlir::registerPassManagerCLOptions();
cl::ParseCommandLineOptions(argc, argv, "toy compiler\n");