Skip to content

Commit 253a9f2

Browse files
committed
[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
1 parent 8dfc07c commit 253a9f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ TEST_F(VPVerifierTest, NonHeaderPHIInHeader) {
321321
::testing::internal::GetCapturedStderr().c_str());
322322
#endif
323323
#endif
324+
325+
delete PHINode;
324326
}
325327

326328
class VPIRVerifierTest : public VPlanTestIRBase {};

0 commit comments

Comments
 (0)