xref: /llvm-project/llvm/test/CodeGen/X86/asm-reject-xmm16.ll (revision 274e08dd81aaa557cb5a177577c034459f12158d)
1; RUN: not llc -o /dev/null %s -mtriple=x86_64-unknown-unknown 2>&1 | FileCheck %s
2; RUN: not llc -o /dev/null %s -mtriple=i386-unknown-unknown -mattr=avx512vl 2>&1 | FileCheck %s
3
4; CHECK: error: couldn't allocate output register for constraint '{xmm16}'
5define i64 @blup() {
6  %v = tail call i64 asm "", "={xmm16},0"(i64 0)
7  ret i64 %v
8}
9