xref: /llvm-project/llvm/test/CodeGen/AArch64/fast-isel-call-return.ll (revision 5ddce70ef0e5a641d7fea95e31fc5e2439cb98cb)
1; RUN: llc -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s
2target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
3target triple = "aarch64-linux-gnu"
4
5define ptr @test_call_return_type(i64 %size) {
6entry:
7; CHECK: bl xmalloc
8  %0 = call noalias ptr @xmalloc(i64 undef)
9  ret ptr %0
10}
11
12declare noalias ptr @xmalloc(i64)
13