repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
Generic
/
2007-01-15-LoadSelectCycle.ll
blob
aa6793b9c688379a06cbd1619132c4715d8d5e7c
1
; RUN: llc < %s
2
; PR1114
3
4
declare i1 @foo()
5
6
define i32 @test(i32* %A, i32* %B) {
7
%a = load i32, i32* %A
8
%b = load i32, i32* %B
9
%cond = call i1 @foo()
10
%c = select i1 %cond, i32 %a, i32 %b
11
ret i32 %c
12
}