projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
255b12092a77ddca97d25aa2c2a34ac306b20ee9
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
2007-01-15-LoadSelectCycle.ll
1
; RUN: llc < %s
2
; PR1114
3
4
declare i1 @foo()
5
6
define i32 @test(i32* %A, i32* %B) {
7
%a = load i32* %A
8
%b = load i32* %B
9
%cond = call i1 @foo()
10
%c = select i1 %cond, i32 %a, i32 %b
11
ret i32 %c
12
}