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* %0, i32 %1)
6 ; CHECK-NEXT: ret i32 %1
7 ; CHECK: define weak i32 @bar(i8* %0, i32 %1)
8 ; CHECK-NEXT: ret i32 %1
10 define weak i32 @foo(i8* %0, i32 %1) #0 {
14 define weak i32 @bar(i8* %0, i32 %1) #0 {