blob: c0cd271d985ed8f407d413be14bcf9e942700634 [file] [log] [blame]
Evan Cheng0bf77de2010-04-01 08:25:26 +00001; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=nehalem | grep movaps | count 5
2; 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