projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2006-11-27-SelectLegalize.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep test.*1
2
; PR1016
3
4
int %test(int %A, int %B, int %C) {
5
%a = trunc int %A to bool
6
%D = select bool %a, int %B, int %C
7
ret int %D
8
}