File tree 1 file changed +9
-0
lines changed
llvm/lib/Transforms/Utils
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -925,6 +925,11 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
925
925
case Attribute::Memory:
926
926
case Attribute::NoFPClass:
927
927
case Attribute::CoroDestroyOnlyWhenComplete:
928
+ case Attribute::HasCXXSEH:
929
+ case Attribute::HasSEH:
930
+ case Attribute::IsSEHFilterFunction:
931
+ case Attribute::IsSEHFinallyFunction:
932
+ case Attribute::Marker:
928
933
continue ;
929
934
// Those attributes should be safe to propagate to the extracted function.
930
935
case Attribute::AlwaysInline:
@@ -968,6 +973,10 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
968
973
case Attribute::MustProgress:
969
974
case Attribute::NoProfile:
970
975
case Attribute::SkipProfile:
976
+ case Attribute::DisableBlockPlacementPass:
977
+ case Attribute::DisableCodeGenPreparePass:
978
+ case Attribute::IsFastISelDisabled:
979
+ case Attribute::IsVolatileFunction:
971
980
break ;
972
981
// These attributes cannot be applied to functions.
973
982
case Attribute::Alignment:
You can’t perform that action at this time.
0 commit comments