[llvm] Remove a debugging message left in a unit test. (PR #137451)

Abid Qadeer via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 26 02:33:04 PDT 2025


https://github.com/abidh created https://github.com/llvm/llvm-project/pull/137451

This should fix the regression reported in https://github.com/llvm/llvm-project/pull/136016#issuecomment-2831987288

>From e08765c41957f6ffa6defff6c87defa7772c075b Mon Sep 17 00:00:00 2001
From: Abid Qadeer <haqadeer at amd.com>
Date: Sat, 26 Apr 2025 10:30:14 +0100
Subject: [PATCH] Remove a debugging msg left in a unit test.

---
 llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp | 1 -
 1 file changed, 1 deletion(-)

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();



More information about the llvm-commits mailing list