16 lines · plain
1; RUN: opt < %s -passes='cgscc(inline),globaldce' -S | FileCheck %s2 3$f1 = comdat any4; CHECK-NOT: $f1 = comdat any5 6define void @f2() {7 call void @f1()8 ret void9}10; CHECK-LABEL: define void @f211 12define linkonce_odr void @f1() comdat {13 ret void14}15; CHECK-NOT: define linkonce_odr void @f1() comdat16