xref: /llvm-project/llvm/test/CodeGen/X86/2007-04-24-Huge-Stack.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
2; PR1348
3
4; CHECK-NOT: 4294967112
5
6	%struct.md5_ctx = type { i32, i32, i32, i32, [2 x i32], i32, [128 x i8], [4294967288 x i8] }
7
8define ptr @md5_buffer(ptr %buffer, i64 %len, ptr %resblock) {
9entry:
10	%ctx = alloca %struct.md5_ctx, align 16		; <ptr> [#uses=3]
11	call void @md5_init_ctx( ptr %ctx )
12	call void @md5_process_bytes( ptr %buffer, i64 %len, ptr %ctx )
13	%tmp4 = call ptr @md5_finish_ctx( ptr %ctx, ptr %resblock )		; <ptr> [#uses=1]
14	ret ptr %tmp4
15}
16
17declare void @md5_init_ctx(ptr)
18
19declare ptr @md5_finish_ctx(ptr, ptr)
20
21declare void @md5_process_bytes(ptr, i64, ptr)
22