blob: e20fce172f27360283cf782ab451860cbf16e6fb [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:
Chris Lattnerb85e4eb2011-06-18 06:05:24 +00007 call void @llvm.memset.p0i8.i64(i8* null, i8 0, i64 80, i32 4, i1 false)
8 ret void
Dan Gohmanbcda2852008-04-16 01:32:32 +00009}
10
Chris Lattnerb85e4eb2011-06-18 06:05:24 +000011declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind