[llvm] r325006 - [CallSiteSplitting] Clear ValueToValue maps.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 06:17:00 PST 2018
Author: fhahn
Date: Tue Feb 13 06:17:00 2018
New Revision: 325006
URL: http://llvm.org/viewvc/llvm-project?rev=325006&view=rev
Log:
[CallSiteSplitting] Clear ValueToValue maps.
Modified:
llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp?rev=325006&r1=325005&r2=325006&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp Tue Feb 13 06:17:00 2018
@@ -330,6 +330,10 @@ static void splitCallSite(
if (CurrentI == OriginalBegin)
break;
}
+
+ ValueToValueMaps[0].clear();
+ ValueToValueMaps[1].clear();
+
NumCallSiteSplit++;
}
More information about the llvm-commits
mailing list