Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=prescott | FileCheck %s
      2 
      3 define float @foo(i8* nocapture %buf, float %a, float %b) nounwind uwtable {
      4 entry:
      5   tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %buf, i8* blockaddress(@foo, %out), i64 22, i32 1, i1 false)
      6   br label %out
      7 
      8 out:                                              ; preds = %entry
      9   %add = fadd float %a, %b
     10   ret float %add
     11 ; CHECK: foo
     12 ; CHECK: movw .L{{.*}}+20(%rip), %{{.*}}
     13 ; CHECK: movl .L{{.*}}+16(%rip), %{{.*}}
     14 ; CHECK: movq .L{{.*}}+8(%rip), %{{.*}}
     15 ; CHECK: movq .L{{.*}}(%rip), %{{.*}}
     16 ; CHECK: ret
     17 }
     18 
     19 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
     20