[CallSiteSplitting] Clear ValueToValue maps.
authorFlorian Hahn <florian.hahn@arm.com>
Tue, 13 Feb 2018 14:17:00 +0000 (14:17 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Tue, 13 Feb 2018 14:17:00 +0000 (14:17 +0000)
llvm-svn: 325006

llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp

index faea3fa..ac38338 100644 (file)
@@ -330,6 +330,10 @@ static void splitCallSite(
     if (CurrentI == OriginalBegin)
       break;
   }
+
+  ValueToValueMaps[0].clear();
+  ValueToValueMaps[1].clear();
+
   NumCallSiteSplit++;
 }