llvm-for-llvmta/test/CodeGen/AArch64/inline-asm-clobber.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

9 lines
239 B
LLVM

; 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
}