You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
239 B

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