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