[Mlir-commits] [mlir] [mlir][spirv] Fix lookup logic `spirv.target_env` for `gpu.module` (PR #147262)

Jaeho Kim llvmlistbot at llvm.org
Thu Jul 10 16:46:32 PDT 2025


================
@@ -0,0 +1,17 @@
+// RUN: mlir-opt --spirv-attach-target='caps=Shader exts=SPV_KHR_storage_buffer_storage_class' --convert-gpu-to-spirv %s -o - | FileCheck %s
----------------
oojahooo wrote:

Sounds good. Then I'll remove `spirv-attach-target` pass and add "targets" attribute to `gpu.module` op explicitly.

https://github.com/llvm/llvm-project/pull/147262


More information about the Mlir-commits mailing list