Home | History | Annotate | Download | only in DeadArgElim
      1 ; RUN: opt -S < %s -deadargelim | FileCheck %s
      2 
      3 $f = comdat any
      4 
      5 define void @f() comdat {
      6   call void @g(i32 0)
      7   ret void
      8 }
      9 
     10 define internal void @g(i32 %dead) comdat($f) {
     11   ret void
     12 }
     13 
     14 ; CHECK: define internal void @g() comdat($f) {
     15