Sign in
llvm
/
llvm
/
1d1a3480403954d1f0585abfe5bb06882b168674
/
.
/
test
/
CodeGen
/
AArch64
/
inline-asm-clobber.ll
blob: 028cf0b6db1251227c1662a2be33d3e2e8ccf792 [
file
] [
log
] [
blame
]
; RUN: llc <%s -mtriple=aarch64-none-eabi 2>&1 | FileCheck %s
; CHECK: warning: inline asm clobber list contains reserved registers: SP
define
void
@foo
()
nounwind
{
call
void
asm
sideeffect
"mov x7, #1"
,
"~{x7},~{sp}"
()
ret
void
}