You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
278 B
16 lines
278 B
4 months ago
|
; RUN: opt < %s -inline -S | FileCheck %s
|
||
|
|
||
|
$f1 = comdat any
|
||
|
; CHECK-NOT: $f1 = comdat any
|
||
|
|
||
|
define void @f2() {
|
||
|
call void @f1()
|
||
|
ret void
|
||
|
}
|
||
|
; CHECK-LABEL: define void @f2
|
||
|
|
||
|
define linkonce_odr void @f1() comdat {
|
||
|
ret void
|
||
|
}
|
||
|
; CHECK-NOT: define linkonce_odr void @f1() comdat
|