1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-apple-darwin10 | FileCheck %s
4 define void @foo(ptr %p, i64 %n) {
7 ; CHECK-NEXT: subl $12, %esp
8 ; CHECK-NEXT: .cfi_def_cfa_offset 16
9 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
10 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %ecx
11 ; CHECK-NEXT: movl %ecx, {{[0-9]+}}(%esp)
12 ; CHECK-NEXT: movl %eax, (%esp)
13 ; CHECK-NEXT: calll ___bzero
14 ; CHECK-NEXT: addl $12, %esp
16 call void @llvm.memset.p0.i64(ptr align 4 %p, i8 0, i64 %n, i1 false)
20 declare void @llvm.memset.p0.i64(ptr nocapture, i8, i64, i1) nounwind