repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
CodeGen
/
Blackfin
/
simple-select.ll
blob
0f7f270967a610eee93e041ab00fa0a598de96bc
1
; RUN: llc < %s -march=bfin -verify-machineinstrs > %t
2
3
declare i1 @foo()
4
5
define i32 @test(i32* %A, i32* %B) {
6
%a = load i32* %A
7
%b = load i32* %B
8
%cond = call i1 @foo()
9
%c = select i1 %cond, i32 %a, i32 %b
10
ret i32 %c
11
}