Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 -O0 | FileCheck %s
      2 ; Make sure fast-isel doesn't screw up aggregate constants.
      3 ; (Failing out is okay, as long as we don't miscompile.)
      4 
      5 %bar = type { i32 }
      6 
      7 define i32 @foo()  {
      8   %tmp = extractvalue %bar { i32 3 }, 0
      9   ret i32 %tmp
     10 ; CHECK: movl $3, %eax
     11 }
     12