blob: ce0dff75cf0e9e3f070a014a252ee0758894edf7 [file] [log] [blame]
Eli Friedman0b4d96b2011-06-06 05:46:34 +00001; 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
7define i32 @foo() {
8 %tmp = extractvalue %bar { i32 3 }, 0
9 ret i32 %tmp
10; CHECK: movl $3, %eax
11}