From: Chris Lattner Date: Tue, 6 Feb 2007 06:07:34 +0000 (+0000) Subject: testcase for pr1181 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ba1469278eb4c1fa06a48036c1534fcf83a50e23;p=oota-llvm.git testcase for pr1181 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33956 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/CBackend/2007-02-05-memset.ll b/test/CodeGen/CBackend/2007-02-05-memset.ll new file mode 100644 index 00000000000..20849cf819d --- /dev/null +++ b/test/CodeGen/CBackend/2007-02-05-memset.ll @@ -0,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 +}