blob: 3f069b4a1aa82354dea8eead4f7d68ebe5682d47 [file] [log] [blame]
Dale Johannesenb4ac2852010-11-18 01:35:23 +00001; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=nehalem | grep movups | count 5
Evan Chenga5e13622011-01-07 19:35:30 +00002; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=core2 | grep movl | count 20
3; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core2 | grep movq | count 10
Dan Gohmanbcda2852008-04-16 01:32:32 +00004
Evan Cheng1887c1c2008-08-21 21:00:15 +00005define void @bork() nounwind {
Dan Gohmanbcda2852008-04-16 01:32:32 +00006entry:
Evan Cheng1887c1c2008-08-21 21:00:15 +00007 call void @llvm.memset.i64( i8* null, i8 0, i64 80, i32 4 )
8 ret void
Dan Gohmanbcda2852008-04-16 01:32:32 +00009}
10
11declare void @llvm.memset.i64(i8*, i8, i64, i32) nounwind
12