Skip to content
Commit e9384676 authored by Chris Lattner's avatar Chris Lattner
Browse files

Fix rdar://7879828 - crash in CallGraph, a self host issue.

Arg promotion was deleting call graph nodes that still had references
from the 'indirect' CGN.  Like the inliner, it should only delete the
function if all references are gone.

llvm-svn: 101845
parent 3df671a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment