diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn index d4612dfb94fd7a..4f0c1d84005217 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn @@ -75,6 +75,7 @@ static_library("LLVMRISCVCodeGen") { "RISCVLegalizerInfo.cpp", "RISCVMCInstLower.cpp", "RISCVMergeBaseOffset.cpp", + "RISCVRedundantCopyElimination.cpp", "RISCVRegisterBankInfo.cpp", "RISCVRegisterInfo.cpp", "RISCVSExtWRemoval.cpp",