brintos

brintos / llvm-project-archived public Read only

0
0
Text · 560 B · 35b2d58 Raw
18 lines · plain
1; Check that not only do we warn about clobbering x19 we also say2; what it is used for.3 4; RUN: llc <%s -mtriple=aarch64 2>&1 | FileCheck %s5 6; CHECK: warning: inline asm clobber list contains reserved registers: X197; CHECK-NEXT: note: Reserved registers on the clobber list8; CHECK-NEXT: note: X19 is used as the frame base pointer register.9; CHECK-NEXT: note: X19 is used as the frame base pointer register.10 11define void @alloca(i64 %size) {12entry:13  %a = alloca i128, i64 %size, align 6414  call void asm sideeffect "nop", "~{x19},~{w19}"()15  ret void16}17 18