Files
triton/test/Target/tritongpu_to_llvmir.mlir

17 lines
435 B
MLIR
Raw Normal View History

2022-11-08 09:44:19 -08:00
// RUN: %PYTHON -m triton.tools.aot %s --target=llvm-ir | FileCheck %s
// == LLVM IR check begin ==
// CHECK-LABEL: ; ModuleID = 'LLVMDialectModule'
// CHECK: define void @test_empty_kernel
// CHECK: !nvvm.annotations
// CHECK: !{void (i32, half addrspace(1)*)* @test_empty_kernel, !"maxntidx", i32 128}
module attributes {"triton_gpu.num-warps" = 4 : i32} {
func @test_empty_kernel(%lb : index, %A : !tt.ptr<f16>) {
return
}
}