brintos

brintos / llvm-project-archived public Read only

0
0
Text · 747 B · a757365 Raw
16 lines · plain
1; RUN: not llc -mtriple=i686-- -regalloc=fast -optimize-regalloc=0 < %s 2> %t12; RUN: not llc -mtriple=i686-- -regalloc=basic      < %s 2> %t23; RUN: not llc -mtriple=i686-- -regalloc=greedy     < %s 2> %t34; RUN: FileCheck %s < %t15; RUN: FileCheck %s < %t26; RUN: FileCheck %s < %t37 8; The register allocator must fail on this function.9; CHECK: error: inline assembly requires more registers than available10 11define void @f(i32 %x0, i32 %x1, i32 %x2, i32 %x3, i32 %x4, i32 %x5, i32 %x6, i32 %x7, i32 %x8, i32 %x9) nounwind ssp {12entry:13  tail call void asm sideeffect "hello world", "r,r,r,r,r,r,r,r,r,r,~{dirflag},~{fpsr},~{flags}"(i32 %x0, i32 %x1, i32 %x2, i32 %x3, i32 %x4, i32 %x5, i32 %x6, i32 %x7, i32 %x8, i32 %x9) nounwind14  ret void15}16