Skip to content

Commit b1e810b

Browse files
committed
Add comment explaining the purpose of new test case
1 parent 1a7d496 commit b1e810b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/test/Conversion/GPUToSPIRV/lookup-target-env.mlir

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ module attributes {gpu.container_module} {
1717
}
1818

1919
// -----
20-
20+
// Checks that the `-convert-gpu-to-spirv` pass selects the first
21+
// `spirv.target_env` from the `targets` array attribute attached to `gpu.module`.
2122
module attributes {gpu.container_module} {
2223
// CHECK-LABEL: spirv.module @{{.*}} GLSL450
2324
// CHECK-SAME: #spirv.target_env<#spirv.vce<v1.4, [Shader], [SPV_KHR_storage_buffer_storage_class]>

0 commit comments

Comments
 (0)