Home | History | Annotate | Download | only in X86
      1 ; RUN: not llc -o /dev/null %s 2>&1 | FileCheck %s
      2 target triple = "x86_64--"
      3 
      4 @a = global i32 0, align 4
      5 
      6 ; CHECK: error: couldn't allocate input reg for constraint 'x'
      7 define i32 @main() {
      8 entry:
      9   %0 = load i32, i32* @a, align 4
     10   %cmp = icmp ne i32 %0, 0
     11   %1 = call { i32, i32 } asm "", "={ax},={dx},x,~{dirflag},~{fpsr},~{flags}"(i1 %cmp)
     12   %asmresult = extractvalue { i32, i32 } %1, 0
     13   %asmresult1 = extractvalue { i32, i32 } %1, 1
     14   store i32 %asmresult, i32* @a, align 4
     15   store i32 %asmresult1, i32* @a, align 4
     16   ret i32 0
     17 }
     18