diff --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn index e6a2a876be10..2739afe5a232 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn @@ -35,6 +35,7 @@ static_library("IPO") { "ForceFunctionAttrs.cpp", "FunctionAttrs.cpp", "FunctionImport.cpp", + "FunctionSpecialization.cpp", "GlobalDCE.cpp", "GlobalOpt.cpp", "GlobalSplit.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn index 6dd54b507cab..96cbba6013bd 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn @@ -24,7 +24,6 @@ static_library("Scalar") { "EarlyCSE.cpp", "FlattenCFGPass.cpp", "Float2Int.cpp", - "FunctionSpecialization.cpp", "GVN.cpp", "GVNHoist.cpp", "GVNSink.cpp",