blob: 08681339d212ba4731d5da7c40fe1346b92fe0f9 [file] [log] [blame]
Chris Lattner82f3aee2007-05-22 07:00:38 +00001; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
2target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
3target triple = "x86_64-apple-darwin8"
4 %struct.bar = type { i32 }
5 %struct.foo = type { i32 }
6
7define i32 @"Func64"(%struct.bar* %F) {
8entry:
9 ret i32 1
10}
11
12define i32 @Func64(%struct.bar* %B) {
13entry:
14 ret i32 0
15}
16
17define i32 @test() {
18entry:
19 %tmp = tail call i32 @"Func64"( %struct.bar* null ) ; <i32> [#uses=0]
20 %tmp1 = tail call i32 @Func64( %struct.bar* null ) ; <i32> [#uses=0]
21 ret i32 undef
22}