blob: da8fc51da8e1d2ac20125c9ed539c956944e75da [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -mtriple=i386-apple-darwin | grep stosl
2; RUN: llc < %s -mtriple=x86_64-apple-darwin | grep movq | count 10
Dan Gohman271d1c22008-04-16 01:32:32 +00003
Evan Cheng9a6e0fa2008-08-21 21:00:15 +00004define void @bork() nounwind {
Dan Gohman271d1c22008-04-16 01:32:32 +00005entry:
Evan Cheng9a6e0fa2008-08-21 21:00:15 +00006 call void @llvm.memset.i64( i8* null, i8 0, i64 80, i32 4 )
7 ret void
Dan Gohman271d1c22008-04-16 01:32:32 +00008}
9
10declare void @llvm.memset.i64(i8*, i8, i64, i32) nounwind
11