diff --git a/llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp b/llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp index 42a00c9beb560..239e84d6024ff 100644 --- a/llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp +++ b/llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp @@ -787,7 +787,6 @@ TEST(CodeExtractor, ArgsDebugInfo) { CE.findAllocas(CEAC, SinkingCands, HoistingCands, CommonExit); CE.findInputsOutputs(Inputs, Outputs, SinkingCands); Function *Outlined = CE.extractCodeRegion(CEAC, Inputs, Outputs); - Outlined->dump(); EXPECT_TRUE(Outlined); BasicBlock &EB = Outlined->getEntryBlock(); Instruction *Term = EB.getTerminator();