[VPlan] Fix leak by manually cleaning up allocated Phi in test.
authorFlorian Hahn <flo@fhahn.com>
Tue, 24 Jan 2023 17:20:16 +0000 (17:20 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 24 Jan 2023 17:20:17 +0000 (17:20 +0000)
commitca8b0b4af42499669573fdfe6e3bb87feb2f6b69
treeba9ea6755b1100c08869655179c5da2d2d90f693
parenta6c43e8ca8f622ee2da4bad5458ebf5cecf6dd90
[VPlan] Fix leak by manually cleaning up allocated Phi in test.

This should fix a LeakSanitizer failure reported here:
https://lab.llvm.org/buildbot/#/builders/5/builds/30952
llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp