[PATCH] D48580: [AArch64] Support reserving x1-7 registers.
James Y Knight via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 19 10:49:02 PDT 2018
jyknight added a comment.
In https://reviews.llvm.org/D48580#1168470, @manojgupta wrote:
> @efriedma Maybe not relevant to the patch here but our kernel devs were looking into preserve_all but it does not seem to work for AArch64.
>
> $ cat test.c
> void __attribute__((preserve_all)) foo(void *ptr) { }
>
> $ clang -c test.c -> compiles for x86_64
> $ clang -c -target aarch64-unknown-linux-gnu
>
> fatal error: error in backend: Unsupported calling convention.
What clang version is that? Works fine for me.
Repository:
rL LLVM
https://reviews.llvm.org/D48580
More information about the llvm-commits
mailing list