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

Jakub Kuderski llvmlistbot at llvm.org
Thu Jul 10 07:46:27 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
----------------
kuhar wrote:

What do you think about running `convert-gpu-to-spirv` only? In the current form, it's not very clear where the 'targets' attribute is materialized.

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


More information about the Mlir-commits mailing list