[clang] [MLIR] SPIRV Target Attribute (PR #69949)
Sang Ik Lee via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 14:20:42 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 cfe-commits
mailing list