[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-02-05-memset.ll

Chris Lattner sabre at nondot.org
Mon Feb 5 22:07:50 PST 2007



Changes in directory llvm/test/CodeGen/CBackend:

2007-02-05-memset.ll added (r1.1)
---
Log message:

testcase for pr1181: http://llvm.org/PR1181 


---
Diffs of the changes:  (+14 -0)

 2007-02-05-memset.ll |   14 ++++++++++++++
 1 files changed, 14 insertions(+)


Index: llvm/test/CodeGen/CBackend/2007-02-05-memset.ll
diff -c /dev/null llvm/test/CodeGen/CBackend/2007-02-05-memset.ll:1.1
*** /dev/null	Tue Feb  6 00:07:44 2007
--- llvm/test/CodeGen/CBackend/2007-02-05-memset.ll	Tue Feb  6 00:07:34 2007
***************
*** 0 ****
--- 1,14 ----
+ ; RUN: llvm-as < %s | llc -march=c
+ ; PR1181
+ target datalayout = "e-p:64:64"
+ target triple = "x86_64-apple-darwin8"
+ 
+ implementation   ; Functions:
+ 
+ declare void @llvm.memset.i64(i8*, i8, i64, i32)
+ 
+ define fastcc void @InitUser_data_unregistered() {
+ entry:
+         tail call void @llvm.memset.i64( i8* null, i8 0, i64 65496, i32 1 )
+         ret void
+ }






More information about the llvm-commits mailing list