From ea736cee2b69b8476a9ef0efb224d6b316995ec4 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 9 Nov 2008 12:45:23 +0000 Subject: [PATCH] fix leakage of ValueNumbering git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58933 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/PredicateSimplifier.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/Scalar/PredicateSimplifier.cpp b/lib/Transforms/Scalar/PredicateSimplifier.cpp index 5baaec12581..f5c68ab82cf 100644 --- a/lib/Transforms/Scalar/PredicateSimplifier.cpp +++ b/lib/Transforms/Scalar/PredicateSimplifier.cpp @@ -2465,6 +2465,7 @@ namespace { delete DTDFS; delete VR; delete IG; + delete VN; modified |= UB.kill();