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

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
parent cd1e7564
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