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
6 declare void @llvm.memset.p0.i32(ptr nocapture, i8, i32, i1) nounwind
9 ; BZERO: {{calll|callq}} ___bzero
11 define void @foo(ptr %p, i32 %len) {
12 call void @llvm.memset.p0.i32(ptr %p, i8 0, i32 %len, i1 false)