[RS4GC] Fix rematerialization of bitcast of bitcast.
[oota-llvm.git] / test / Transforms / Inline / pr22285.ll
1 ; RUN: opt < %s -inline -S | FileCheck %s
2
3 $f1 = comdat any
4 ; CHECK-NOT: $f1 = comdat any
5
6 define void @f2() {
7   call void @f1()
8   ret void
9 }
10 ; CHECK-LABEL: define void @f2
11
12 define linkonce_odr void @f1() comdat {
13   ret void
14 }
15 ; CHECK-NOT: define linkonce_odr void @f1() comdat