• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -inline -S | FileCheck %s
2; RUN: opt < %s -passes='cgscc(inline),globaldce' -S | FileCheck %s
3
4$f1 = comdat any
5; CHECK-NOT: $f1 = comdat any
6
7define void @f2() {
8  call void @f1()
9  ret void
10}
11; CHECK-LABEL: define void @f2
12
13define linkonce_odr void @f1() comdat {
14  ret void
15}
16; CHECK-NOT: define linkonce_odr void @f1() comdat
17