mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
17 lines
346 B
LLVM
17 lines
346 B
LLVM
; RUN: opt < %s -inline -S | FileCheck %s
|
|
; RUN: opt < %s -passes='cgscc(inline),globaldce' -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
|