llvm-6502/lib
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
..
Analysis Improve RefreshCallGraph to remove invalid call graph edge. 2015-04-14 15:52:57 +00:00
AsmParser Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Bitcode Error out of ParseBitcodeInto(Module*) if we haven't read a Module 2015-04-14 14:07:15 +00:00
CodeGen [MachineLICM] Use newer model of register pressure sets. 2015-04-14 11:56:25 +00:00
DebugInfo Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
ExecutionEngine [RuntimeDyldELF] Improve GOT support 2015-04-14 02:10:35 +00:00
Fuzzer Removing a spurious space; NFC. 2015-04-06 16:09:13 +00:00
IR Fix crash in DebugInfoFinder when adding a module with forward declared composite type 2015-04-14 09:18:17 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker DebugInfo: Gut DISubprogram and DILexicalBlock* 2015-04-14 03:40:37 +00:00
LTO Simplify use of formatted_raw_ostream. 2015-04-09 21:06:08 +00:00
MC Re-enable target-specific relocation table sorting and use it for Mips 2015-04-14 13:23:34 +00:00
Object Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Option Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Passes [PM] Fixup for r231556 where I missed a dependency on intrinsics 2015-03-07 09:08:20 +00:00
ProfileData Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used. 2015-03-23 19:32:43 +00:00
Support Add raw_pwrite_stream type. 2015-04-14 15:00:34 +00:00
TableGen Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Target Refactor: Simplify boolean expressions in ARM target 2015-04-14 15:32:58 +00:00
Transforms Simplify n-ary adds by reassociation 2015-04-14 04:59:22 +00:00
CMakeLists.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
LLVMBuild.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
Makefile [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00