Matthias Braun | dc4b3e8 | 2018-01-19 02:45:38 +0000 | [diff] [blame^] | 1 | ; RUN: llc -o - %s -verify-machineinstrs | FileCheck %s |
2 | target 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 | ||||
9 | declare void @extfunc([4096 x i64]* byval %p) | ||||
10 | define void @func([4096 x i64]* %z) { | ||||
11 | call void @extfunc([4096 x i64]* byval %z) | ||||
12 | ret void | ||||
13 | } |