]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/asm-reject-reg-type-mismatch.ll
Vendor import of llvm trunk r291274:
[FreeBSD/FreeBSD.git] / test / CodeGen / X86 / asm-reject-reg-type-mismatch.ll
1 ; RUN: not llc -o /dev/null %s 2>&1 | FileCheck %s
2 target triple = "x86_64--"
3
4 ; CHECK: error: couldn't allocate output register for constraint '{ax}'
5 define i128 @blup() {
6   %v = tail call i128 asm "", "={ax},0"(i128 0)
7   ret i128 %v
8 }