brintos

brintos / llvm-project-archived public Read only

0
0
Text · 703 B · 9529a42 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-apple-darwin10 | FileCheck %s3 4define void @foo(ptr %p, i64 %n) {5; CHECK-LABEL: foo:6; CHECK:       ## %bb.0:7; CHECK-NEXT:    subl $12, %esp8; CHECK-NEXT:    .cfi_def_cfa_offset 169; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax10; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %ecx11; CHECK-NEXT:    movl %ecx, {{[0-9]+}}(%esp)12; CHECK-NEXT:    movl %eax, (%esp)13; CHECK-NEXT:    calll ___bzero14; CHECK-NEXT:    addl $12, %esp15; CHECK-NEXT:    retl16  call void @llvm.memset.p0.i64(ptr align 4 %p, i8 0, i64 %n, i1 false)17  ret void18}19 20declare void @llvm.memset.p0.i64(ptr nocapture, i8, i64, i1) nounwind21