summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/asm-reject-xmm16.ll
blob: eee0064c96409c15dfd0cf4cafd139cf03cc4107 (plain)
1
2
3
4
5
6
7
8
; RUN: not llc -o /dev/null %s 2>&1 | FileCheck %s
target triple = "x86_64--"

; CHECK: error: couldn't allocate output register for constraint '{xmm16}'
define i64 @blup() {
  %v = tail call i64 asm "", "={xmm16},0"(i64 0)
  ret i64 %v
}
OpenPOWER on IntegriCloud