[Mlir-commits] [mlir] [MLIR] SPIRV Target Attribute (PR #69949)

Sang Ik Lee llvmlistbot at llvm.org
Mon Oct 30 14:20:38 PDT 2023


================
@@ -166,4 +166,35 @@ def SPIRV_ResourceLimitsAttr : SPIRV_Attr<"ResourceLimits", "resource_limits"> {
   let assemblyFormat = "`<` struct(params) `>`";
 }
 
+//===----------------------------------------------------------------------===//
+// SPIRV target attribute.
+//===----------------------------------------------------------------------===//
+
+def SPIRV_TargetAttr : SPIRV_Attr<"SPIRVTarget", "target"> {
----------------
silee2 wrote:

Updated the PR to use spirv::TargetEnvAttr.

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


More information about the Mlir-commits mailing list