projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a regression test for the bug exposed by r158087, which has been
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fast-isel-agg-constant.ll
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
}