diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td index 8b0d82d4e7550..a1e9b0dc1c4ae 100644 --- a/clang/include/clang/Basic/Attr.td +++ b/clang/include/clang/Basic/Attr.td @@ -2024,6 +2024,7 @@ def SYCLIntelFPGADisableLoopPipelining : DeclOrStmtAttr { let IsStmtDependent = 1; let Documentation = [SYCLIntelFPGADisableLoopPipeliningAttrDocs]; let SupportsNonconformingLambdaSyntax = 1; + let SimpleHandler = 1; } def : MutualExclusions<[SYCLIntelFPGAInitiationInterval, SYCLIntelFPGADisableLoopPipelining]>; diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 5a822884bb9d9..618132f288d0f 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -3566,13 +3566,6 @@ static void handleSYCLIntelUseStallEnableClustersAttr(Sema &S, Decl *D, SYCLIntelUseStallEnableClustersAttr(S.Context, A)); } -// Handles disable_loop_pipelining attribute. -static void handleSYCLIntelFPGADisableLoopPipeliningAttr(Sema &S, Decl *D, - const ParsedAttr &A) { - D->addAttr(::new (S.Context) - SYCLIntelFPGADisableLoopPipeliningAttr(S.Context, A)); -} - // Handles initiation_interval attribute. void Sema::AddSYCLIntelFPGAInitiationIntervalAttr(Decl *D, const AttributeCommonInfo &CI, @@ -9976,9 +9969,6 @@ static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, case ParsedAttr::AT_SYCLIntelLoopFuse: handleSYCLIntelLoopFuseAttr(S, D, AL); break; - case ParsedAttr::AT_SYCLIntelFPGADisableLoopPipelining: - handleSYCLIntelFPGADisableLoopPipeliningAttr(S, D, AL); - break; case ParsedAttr::AT_SYCLIntelFPGAInitiationInterval: handleSYCLIntelFPGAInitiationIntervalAttr(S, D, AL); break;