diff --git a/llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn index aa70596afe81..55a81edf5acb 100644 --- a/llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn @@ -43,6 +43,7 @@ static_library("IR") { "Instruction.cpp", "Instructions.cpp", "IntrinsicInst.cpp", + "KnowledgeRetention.cpp", "LLVMContext.cpp", "LLVMContextImpl.cpp", "LLVMRemarkStreamer.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn index 358d7beb85d1..0618c57f3f5f 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn @@ -36,7 +36,6 @@ static_library("Utils") { "InlineFunction.cpp", "InstructionNamer.cpp", "IntegerDivision.cpp", - "KnowledgeRetention.cpp", "LCSSA.cpp", "LibCallsShrinkWrap.cpp", "Local.cpp", diff --git a/llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn index de87ddf57201..4e3e776790c2 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn @@ -26,6 +26,7 @@ unittest("IRTests") { "IRBuilderTest.cpp", "InstructionsTest.cpp", "IntrinsicsTest.cpp", + "KnowledgeRetentionTest.cpp", "LegacyPassManagerTest.cpp", "MDBuilderTest.cpp", "ManglerTest.cpp", diff --git a/llvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn index 46a04538d5f1..d40d7a11eb8e 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn @@ -17,7 +17,6 @@ unittest("UtilsTests") { "CodeMoverUtilsTest.cpp", "FunctionComparatorTest.cpp", "IntegerDivisionTest.cpp", - "KnowledgeRetentionTest.cpp", "LocalTest.cpp", "LoopRotationUtilsTest.cpp", "LoopUtilsTest.cpp",