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