Home | History | Annotate | Download | only in GlobalDCE
      1 ; distilled from 255.vortex
      2 ; RUN: opt < %s -globaldce -S | not grep testfunc
      3 
      4 declare i1 ()* @getfunc()
      5 
      6 define internal i1 @testfunc() {
      7         %F = call i1 ()* ()* @getfunc( )                ; <i1 ()*> [#uses=1]
      8         %c = icmp eq i1 ()* %F, @testfunc               ; <i1> [#uses=1]
      9         ret i1 %c
     10 }
     11 
     12