blob: 0cc5d8645bb364c32f021f1f873d1f2415ce5391 [file] [log] [blame]
// RUN: mlir-opt %s \
// RUN: | mlir-opt -gpu-lower-to-nvvm-pipeline -debug-only=serialize-to-isa \
// RUN: 2>&1 | FileCheck %s
// CHECK: Generated by LLVM NVPTX Back-End
// CHECK: .visible .func kernel_a()
// CHECK: ret;
gpu.module @bar {
llvm.func @kernel_a()
attributes { gpu.kernel } {
llvm.return
}
}