brintos

brintos / llvm-project-archived public Read only

0
0
Text · 428 B · 7742459 Raw
19 lines · plain
1; RUN: opt -passes=constmerge -S < %s | FileCheck %s2; PR89783 4declare i32 @zed(ptr, ptr)5 6%struct.foobar = type { i32 }7; CHECK: bar.d8@bar.d =  unnamed_addr constant %struct.foobar zeroinitializer, align 49; CHECK-NOT: foo.d10@foo.d = internal constant %struct.foobar zeroinitializer, align 411define i32 @main() nounwind ssp {12entry:13; CHECK: bar.d14  %call2 = tail call i32 @zed(ptr @foo.d, ptr @bar.d)15nounwind16  ret i32 017}18 19