According to my auto-simplifier the most common missed simplifications in
[llvm/stm8.git] / test / Assembler / unnamed-addr.ll
bloba4828c3c45c3334d51606c89dab722d5c018085e
1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3 %struct.foobar = type { i32 }
5 @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
6 @foo.d = internal constant %struct.foobar zeroinitializer, align 4
8 define unnamed_addr i32 @main() nounwind ssp {
9 entry:
10   %call2 = tail call i32 @zed(%struct.foobar* @foo.d, %struct.foobar* @bar.d) nounwind
11   ret i32 0
14 declare i32 @zed(%struct.foobar*, %struct.foobar*)
16 ; CHECK: @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
17 ; CHECK: @foo.d = internal constant %struct.foobar zeroinitializer, align 4
18 ; CHECK: define unnamed_addr i32 @main() nounwind ssp {