[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / gold / X86 / Inputs / thinlto_weak_library2.ll
blob684549aa320ee57f6109c2c91d894800b5848df0
1 ; ModuleID = 'thinlto_weak_library2.c'
2 source_filename = "thinlto_weak_library2.c"
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
6 ; Function Attrs: nounwind uwtable
7 define weak i32 @f() local_unnamed_addr {
8 entry:
9   ret i32 2
12 ; Function Attrs: nounwind uwtable
13 define void @test2() local_unnamed_addr {
14 entry:
15   tail call i32 (...) @test1()
16   tail call i32 @f()
17   ret void
20 declare i32 @test1(...) local_unnamed_addr