blob: d76d4d47924635dad3970b625708d3ea53a6df4a [file] [log] [blame]
Evan Cheng9a6e0fa2008-08-21 21:00:15 +00001; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep stosl
2; RUN: llvm-as < %s | llc -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