File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
llvm/lib/Transforms/Utils Expand file tree Collapse file tree 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,
925925 case Attribute::Memory:
926926 case Attribute::NoFPClass:
927927 case Attribute::CoroDestroyOnlyWhenComplete:
928+ case Attribute::HasCXXSEH:
929+ case Attribute::HasSEH:
930+ case Attribute::IsSEHFilterFunction:
931+ case Attribute::IsSEHFinallyFunction:
932+ case Attribute::Marker:
928933 continue ;
929934 // Those attributes should be safe to propagate to the extracted function.
930935 case Attribute::AlwaysInline:
@@ -968,6 +973,10 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
968973 case Attribute::MustProgress:
969974 case Attribute::NoProfile:
970975 case Attribute::SkipProfile:
976+ case Attribute::DisableBlockPlacementPass:
977+ case Attribute::DisableCodeGenPreparePass:
978+ case Attribute::IsFastISelDisabled:
979+ case Attribute::IsVolatileFunction:
971980 break ;
972981 // These attributes cannot be applied to functions.
973982 case Attribute::Alignment:
You can’t perform that action at this time.
0 commit comments