Home | History | Annotate | Download | only in GlobalOpt
      1 ; RUN: opt < %s -globalopt -S | not grep global
      2 
      3 @G = internal global void ()* null              ; <void ()**> [#uses=2]
      4 
      5 define internal void @Actual() {
      6         ret void
      7 }
      8 
      9 define void @init() {
     10         store void ()* @Actual, void ()** @G
     11         ret void
     12 }
     13 
     14 define void @doit() {
     15         %FP = load void ()** @G         ; <void ()*> [#uses=1]
     16         call void %FP( )
     17         ret void
     18 }
     19 
     20