blob: cf03074767fb3a29ca8ce2d178ae732fbf3cb4fc [file] [log] [blame]
Matthias Braundc4b3e82018-01-19 02:45:38 +00001; RUN: llc -o - %s -verify-machineinstrs | FileCheck %s
2target triple = "aarch64--"
3
4; Make sure we don't fail machine verification because the memcpy callframe
5; setup is nested inside the extfunc callframe setup.
6; CHECK-LABEL: func:
7; CHECK: bl memcpy
8; CHECK: bl extfunc
9declare void @extfunc([4096 x i64]* byval %p)
10define void @func([4096 x i64]* %z) {
11 call void @extfunc([4096 x i64]* byval %z)
12 ret void
13}