bolt/deps/llvm-18.1.8/llvm/test/CodeGen/AArch64/inline-asm-clobber.ll
2025-02-14 19:21:04 +01:00

8 lines
229 B
LLVM

; RUN: llc <%s -mtriple=aarch64 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
}