Ties Stuij | 9c16d80 | 2018-08-30 12:52:35 +0000 | [diff] [blame] | 1 | ; RUN: llc <%s -mtriple=aarch64-none-eabi 2>&1 | FileCheck %s |
2 | |||||
3 | ; CHECK: warning: inline asm clobber list contains reserved registers: SP | ||||
4 | |||||
5 | define void @foo() nounwind { | ||||
6 | call void asm sideeffect "mov x7, #1", "~{x7},~{sp}"() | ||||
7 | ret void | ||||
8 | } |