llvm-6502/lib/Analysis/IPA
Chad Rosier 2fbccf6972 Improve RefreshCallGraph to remove invalid call graph edge.
With commit r219944, InstCombine can now turn a sqrtl into a llvm.fabs.f64.
The call graph edge originally representing the call to sqrtl becomes invalid.
This patch modifies CGPassManager::RefreshCallGraph() to remove the invalid
call graph edge, which can triggers an assert in
CallGraphNode::addCalledFunction().

Phabricator Review: http://reviews.llvm.org/D7705
Patch by Lawrence Hu <lawrence@codeaurora.org>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234902 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-14 15:52:57 +00:00
..
CallGraph.cpp Remove Support/IncludeFile.h and its only user. This is actively harmful, since 2014-08-07 20:41:17 +00:00
CallGraphSCCPass.cpp Improve RefreshCallGraph to remove invalid call graph edge. 2015-04-14 15:52:57 +00:00
CallPrinter.cpp [PM] Split the CallGraph out from the ModulePass which creates the 2013-11-26 04:19:30 +00:00
CMakeLists.txt Remove the unused FindUsedTypes pass. 2014-11-24 20:53:26 +00:00
GlobalsModRef.cpp [CallSite] Make construction from Value* (or Instruction*) explicit. 2015-04-10 14:50:08 +00:00
InlineCost.cpp [inliner] Don't inline a function if it doesn't have exactly the same 2015-04-13 18:43:38 +00:00
IPA.cpp Remove the unused FindUsedTypes pass. 2014-11-24 20:53:26 +00:00
LLVMBuild.txt
Makefile