xref: /llvm-project/llvm/test/CodeGen/AArch64/inline-asm-clobber.ll (revision d39b4ce3ce8a3c256e01bdec2b140777a332a633)
1; RUN: llc <%s -mtriple=aarch64 2>&1  | FileCheck %s
2
3; CHECK: warning: inline asm clobber list contains reserved registers: SP
4
5define void @foo() nounwind {
6  call void asm sideeffect "mov x7, #1", "~{x7},~{sp}"()
7  ret void
8}
9