1 ; RUN: opt -mergefunc -S < %s | FileCheck %s
3 ; Weak functions too small for merging to be profitable
5 ; CHECK: define weak i32 @foo(i8*, i32)
6 ; CHECK-NEXT: ret i32 %1
7 ; CHECK: define weak i32 @bar(i8*, i32)
8 ; CHECK-NEXT: ret i32 %1
10 define weak i32 @foo(i8*, i32) #0 {
14 define weak i32 @bar(i8*, i32) #0 {