[llvm] 253a9f2 - [VPlan] Delete IR instruction after test. NFC
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 20:59:44 PDT 2025
Author: Luke Lau
Date: 2025-08-01T11:59:11+08:00
New Revision: 253a9f2c52b40c3b74f8569c6d0a949ad4a60bf5
URL: https://github.com/llvm/llvm-project/commit/253a9f2c52b40c3b74f8569c6d0a949ad4a60bf5
DIFF: https://github.com/llvm/llvm-project/commit/253a9f2c52b40c3b74f8569c6d0a949ad4a60bf5.diff
LOG: [VPlan] Delete IR instruction after test. NFC
This fixes a LeakSanitizer failure on the sanitizer buildbots:
https://lab.llvm.org/buildbot/#/builders/52/builds/10088
Added:
Modified:
llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp b/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
index 9e06c42997d5e..b698b287178f7 100644
--- a/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
+++ b/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
@@ -321,6 +321,8 @@ TEST_F(VPVerifierTest, NonHeaderPHIInHeader) {
::testing::internal::GetCapturedStderr().c_str());
#endif
#endif
+
+ delete PHINode;
}
class VPIRVerifierTest : public VPlanTestIRBase {};
More information about the llvm-commits
mailing list