HomePhabricator

when inlining something like this:
016c00a3115eUnpublished

Authored by lattner on Apr 22 2010, 2:31 PM.

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

when inlining something like this:

define void @f3(void (i8*)* %__f) ssp {
entry:

call void %__f(i8* undef)
unreachable

}

define void @f4(i8* %this) ssp align 2 {
entry:

call void @f3(void (i8*)* @f2) ssp
ret void

}

The inliner is turning the indirect call to %__f into a direct
call to F2. Make the call graph more precise when this happens.

The inliner doesn't revisit call sites introduced by inlining,
so there isn't an easy way to test for this, but a more precise
callgraph is a good thing.

llvm-svn: 102131

Details

Committed
lattnerApr 22 2010, 2:31 PM

Commit No Longer Exists

This commit no longer exists in the repository.