[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-04-24-Huge-Stack.ll
Evan Cheng
evan.cheng at apple.com
Wed Apr 25 18:14:33 PDT 2007
Changes in directory llvm/test/CodeGen/X86:
2007-04-24-Huge-Stack.ll added (r1.1)
---
Log message:
PR1348: http://llvm.org/PR1348 test case.
---
Diffs of the changes: (+19 -0)
2007-04-24-Huge-Stack.ll | 19 +++++++++++++++++++
1 files changed, 19 insertions(+)
Index: llvm/test/CodeGen/X86/2007-04-24-Huge-Stack.ll
diff -c /dev/null llvm/test/CodeGen/X86/2007-04-24-Huge-Stack.ll:1.1
*** /dev/null Wed Apr 25 20:14:24 2007
--- llvm/test/CodeGen/X86/2007-04-24-Huge-Stack.ll Wed Apr 25 20:14:14 2007
***************
*** 0 ****
--- 1,19 ----
+ ; RUN: llvm-as < %s | llc -march=x86-64 | not grep 4294967112
+ ; PR1348
+
+ %struct.md5_ctx = type { i32, i32, i32, i32, [2 x i32], i32, [128 x i8], [4294967288 x i8] }
+
+ define i8* @md5_buffer(i8* %buffer, i64 %len, i8* %resblock) {
+ entry:
+ %ctx = alloca %struct.md5_ctx, align 16 ; <%struct.md5_ctx*> [#uses=3]
+ call void @md5_init_ctx( %struct.md5_ctx* %ctx )
+ call void @md5_process_bytes( i8* %buffer, i64 %len, %struct.md5_ctx* %ctx )
+ %tmp4 = call i8* @md5_finish_ctx( %struct.md5_ctx* %ctx, i8* %resblock ) ; <i8*> [#uses=1]
+ ret i8* %tmp4
+ }
+
+ declare void @md5_init_ctx(%struct.md5_ctx*)
+
+ declare i8* @md5_finish_ctx(%struct.md5_ctx*, i8*)
+
+ declare void @md5_process_bytes(i8*, i64, %struct.md5_ctx*)
More information about the llvm-commits
mailing list