xref: /llvm-project/mlir/test/Bytecode/unregistered_dialect.mlir (revision 3b0106fe9da9a3adf9bd4402c7bc6cfbb47f1ab8)
1// RUN: mlir-opt -emit-bytecode -allow-unregistered-dialect %s | mlir-opt -allow-unregistered-dialect | FileCheck %s
2
3// verify that we round-trip an op without a dialect name (as long as we support this)
4func.func @map1d(%lb: index, %ub: index, %step: index) {
5// CHECK: "new_processor_id_and_range"
6  %0:2 = "new_processor_id_and_range"() : () -> (index, index)
7  return
8}
9