xref: /llvm-project/llvm/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s -mtriple=i686-pc-linux-gnu -relocation-model=pic
2; PR1027
3
4	%struct._IO_FILE = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i16, i8, [1 x i8], ptr, i64, ptr, ptr, ptr, ptr, i32, i32, [40 x i8] }
5	%struct._IO_marker = type { ptr, ptr, i32 }
6@stderr = external global ptr
7
8define void @__eprintf(ptr %string, ptr %expression, i32 %line, ptr %filename) {
9	%tmp = load ptr, ptr @stderr
10	%tmp5 = tail call i32 (ptr, ptr, ...) @fprintf( ptr %tmp, ptr %string, ptr %expression, i32 %line, ptr %filename )
11	%tmp6 = load ptr, ptr @stderr
12	%tmp7 = tail call i32 @fflush( ptr %tmp6 )
13	tail call void @abort( )
14	unreachable
15}
16
17declare i32 @fprintf(ptr, ptr, ...)
18
19declare i32 @fflush(ptr)
20
21declare void @abort()
22