mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
8e4adad70b
alloca-dbgdeclare-merge.ll: alloca-merge-align.ll: array_merge.ll: NPM inliner does not merge allocas delete-call.ll: NPM inliner does not delete readonly calls externally_available.ll: NPM inliner does not delete available_externally functions inline-cold-callee.ll: inline-hot-callee.ll: inline-hot-callee.ll has a comment saying it only applies to legacy PM, I assume same for inline-cold-callee.ll devirtualize-2.ll: inline-hot-callsite: monster_scc.ll: pr22285.ll: already has legacy and new PM RUN lines inline-cold.ll: profile-summary required to see callee as cold prof-update-sample.ll: profile-summary required to update branch_weights Reviewed By: davidxl Differential Revision: https://reviews.llvm.org/D89093
17 lines
363 B
LLVM
17 lines
363 B
LLVM
; RUN: opt < %s -inline -S -enable-new-pm=0 | 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
|