diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-10 23:14:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-10 23:14:11 +0000 |
commit | e42eb31f7db0ba60947472427b3ad0ba4c13f020 (patch) | |
tree | 7fa2a5809e50371a19066b7dd07e3ee5dfaa6d01 /llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h | |
parent | cd1e756469791be1cecffbb516c832036d338826 (diff) | |
download | bcm5719-llvm-e42eb31f7db0ba60947472427b3ad0ba4c13f020.tar.gz bcm5719-llvm-e42eb31f7db0ba60947472427b3ad0ba4c13f020.zip |
Just because we cannot completely eliminate all uses of a global, we can
still optimize away all of the indirect calls and loads, etc from it.
This turns code like this:
if (G != 0)
G();
into
if (G != 0)
ActualCallee();
This triggers a couple of times in gcc and libstdc++.
llvm-svn: 16901
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h')
0 files changed, 0 insertions, 0 deletions