Skip to content

Commit 5fcf67b

Browse files
committed
Adding test
1 parent fa144ca commit 5fcf67b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mlir/test/Target/LLVMIR/gpu.mlir

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,11 @@ module attributes {gpu.container_module} {
101101
llvm.return
102102
}
103103
}
104+
105+
// -----
106+
107+
// Checking that ELF section is populated
108+
module attributes {gpu.container_module} {
109+
// CHECK: @cuda_device_mod_bin_cst = internal constant [4 x i8] c"BLOB", section "__nv_rel_fatbin", align 8
110+
gpu.binary @cuda_device_mod [#gpu.object<#nvvm.target, properties = {section = "__nv_rel_fatbin"}, "BLOB">]
111+
}

0 commit comments

Comments
 (0)