summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/byval-memcpy.ll
blob: 3f57f509a021e40bd5a7931c930d33b58050cb4f (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=x86-64 | FileCheck %s
; RUN: llc < %s -march=x86 | FileCheck %s
; CHECK: _memcpy
define void @foo([40000 x i32] *%P) nounwind {
  call void @bar([40000 x i32] * byval align 1 %P)
  ret void
}

declare void @bar([40000 x i32] *%P )