1 ; RUN: opt < %s -instcombine -S | FileCheck %s
2 @.str = private unnamed_addr constant [14 x i8] c"hello world!\0A\00", align 1
6 define void @foo() nounwind ssp uwtable "no-builtin" {
8 %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0))
14 define void @bar() nounwind ssp uwtable {
16 %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0))
20 declare i32 @printf(i8*, ...)
22 attributes #0 = { nounwind ssp uwtable "no-builtin" }
23 attributes #1 = { nounwind ssp uwtable }