1; RUN: llc < %s -mtriple=i386-apple-darwin10 | FileCheck -check-prefixes=CHECK,BZERO %s 2; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | FileCheck -check-prefixes=CHECK,BZERO %s 3; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck -check-prefixes=CHECK,NOBZERO %s 4; RUN: llc < %s -mtriple=x86_64-apple-ios10.0-simulator | FileCheck -check-prefixes=CHECK,NOBZERO %s 5 6declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i1) nounwind 7 8; CHECK-LABEL: foo: 9; BZERO: {{calll|callq}} ___bzero 10; NOBZERO-NOT: bzero 11define void @foo(i8* %p, i32 %len) { 12 call void @llvm.memset.p0i8.i32(i8* %p, i8 0, i32 %len, i1 false) 13 ret void 14} 15