llvm-6502/test/CodeGen/X86/byval-memcpy.ll
Stuart Hastings 167831dcac Tweak test to work on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127364 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-09 21:35:10 +00:00

11 lines
258 B
LLVM

; 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 )