projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
get this test passing on linux builders.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
select-aggregate.ll
1
; RUN: llc < %s -march=x86-64 | FileCheck %s
2
; PR5757
3
4
; CHECK: cmovneq %rdi, %rsi
5
; CHECK: movl (%rsi), %eax
6
7
%0 = type { i64, i32 }
8
9
define i32 @foo(%0* %p, %0* %q, i1 %r) nounwind {
10
%t0 = load %0* %p
11
%t1 = load %0* %q
12
%t4 = select i1 %r, %0 %t0, %0 %t1
13
%t5 = extractvalue %0 %t4, 1
14
ret i32 %t5
15
}