brintos

brintos / llvm-project-archived public Read only

0
0
Text · 637 B · f9719b8 Raw
22 lines · plain
1; RUN: not llc -o /dev/null %s -mtriple=i386-unknown-unknown 2>&1 | FileCheck %s2; Make sure X32 still works.3; RUN: llc -o /dev/null %s -mtriple=x86_64-linux-gnux324 5; CHECK: error: couldn't allocate output register for constraint '{xmm8}'6define i64 @blup() {7  %v = tail call i64 asm "", "={xmm8},0"(i64 0)8  ret i64 %v9}10 11; CHECK: error: couldn't allocate output register for constraint '{r8d}'12define i32 @foo() {13  %v = tail call i32 asm "", "={r8d},0"(i32 0)14  ret i32 %v15}16 17; CHECK: error: couldn't allocate output register for constraint '{rax}'18define i64 @bar() {19  %v = tail call i64 asm "", "={rax},0"(i64 0)20  ret i64 %v21}22