================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits