[llvm][AArch64] Test warning for clobbering w19 with base frame pointer
The test added in 739b69e655
only checked
that X19 triggers the explanation, also check W19.
This commit is contained in:
parent
30dd839608
commit
29bb6497da
|
@ -4,12 +4,14 @@
|
|||
; RUN: llc <%s -mtriple=aarch64-none-eabi 2>&1 | FileCheck %s
|
||||
|
||||
; CHECK: warning: inline asm clobber list contains reserved registers: X19
|
||||
; CHECK: note: X19 is used as the frame base pointer register.
|
||||
; CHECK-NEXT: note: Reserved registers on the clobber list
|
||||
; CHECK-NEXT: note: X19 is used as the frame base pointer register.
|
||||
; CHECK-NEXT: note: X19 is used as the frame base pointer register.
|
||||
|
||||
define void @alloca(i64 %size) {
|
||||
entry:
|
||||
%a = alloca i128, i64 %size, align 64
|
||||
call void asm sideeffect "nop", "~{x19}"()
|
||||
call void asm sideeffect "nop", "~{x19},~{w19}"()
|
||||
ret void
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue