xref: /llvm-project/llvm/test/CodeGen/PowerPC/aix-inlineasm-reserved-reg-dflt-warn.ll (revision 2b50ce152417286e0091a1683482457473d4d7a8)
1; RUN: llc < %s -mtriple=powerpc-unknown-aix-xcoff -verify-machineinstrs \
2; RUN:     -mcpu=pwr7 -mattr=+altivec 2>&1 | \
3; RUN:   FileCheck --check-prefix=DFLTWRN %s
4
5; RUN: llc < %s -mtriple=powerpc64-unknown-aix-xcoff -verify-machineinstrs \
6; RUN:     -mcpu=pwr7 -mattr=+altivec 2>&1 | \
7; RUN:   FileCheck --check-prefix=DFLTWRN %s
8define dso_local void @vec_warn() {
9entry:
10  call void asm sideeffect "", "~{v23}"()
11  ret void
12}
13
14; DFLTWRN: warning: vector registers 20 to 32 are reserved in the default AIX AltiVec ABI and cannot be used
15