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
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
CodeGen
/
Blackfin
/
simple-select.ll
blob
286db7c2e3f95f1810be3625d873c86afb89a977
1
; RUN: llvm-as < %s | llc -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
}