blob: 28e93769ef74de44f4ba6def1e12f6c383473717 [file] [edit]
// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
// CHECK: module <dlti = #dlti.map<"module" = 1 : i32>> attributes {gpu.container_module}
module <{dlti = #dlti.map<"module" = 1 : i32>}> attributes {gpu.container_module} {
// CHECK: func.func @new() attributes {dlti = #dlti.map<"func" = 2 : i32>}
func.func @new() attributes {dlti = #dlti.map<"func" = 2 : i32>} {
return
}
// CHECK: gpu.module @new_gpu dlti = #dlti.map<"gpu" = 3 : i32>
gpu.module @new_gpu dlti = #dlti.map<"gpu" = 3 : i32> {
}
}