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

Sang Ik Lee via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 30 14:20:44 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 libcxx-commits mailing list