Clear out the landing pad to call site map for each function.
authorBill Wendling <isanbard@gmail.com>
Sat, 15 Oct 2011 01:00:26 +0000 (01:00 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 15 Oct 2011 01:00:26 +0000 (01:00 +0000)
This isn't put into the 'clear()' method because the information needs to stick
around (at least for a little bit) after the selection DAG is built.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142032 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index ee30343c3c03bca088308bd0ae81608058138cee..7d76507b589e9b52ef8cd39fd2d15051fc83f068 100644 (file)
@@ -817,6 +817,7 @@ void SelectionDAGBuilder::init(GCFunctionInfo *gfi, AliasAnalysis &aa) {
   AA = &aa;
   GFI = gfi;
   TD = DAG.getTarget().getTargetData();
+  LPadToCallSiteMap.clear();
 }
 
 /// clear - Clear out the current SelectionDAG and the associated