llvm.org GIT mirror llvm / release_50 test / CodeGen / X86 / asm-reject-reg-type-mismatch.ll
release_50

Tree @release_50 (Download .tar.gz)

asm-reject-reg-type-mismatch.ll @release_50raw · history · blame

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 '{ax}'
define i128 @blup() {
  %v = tail call i128 asm "", "={ax},0"(i128 0)
  ret i128 %v
}