repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use Align for TFL::TransientStackAlignment
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
2006-11-27-SelectLegalize.ll
blob
87aba33fb7c4683ae353497752e6d2004e975607
1
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
2
; PR1016
3
4
; CHECK: {{test.*1}}
5
6
define i32 @test(i32 %A, i32 %B, i32 %C) {
7
%a = trunc i32 %A to i1 ; <i1> [#uses=1]
8
%D = select i1 %a, i32 %B, i32 %C ; <i32> [#uses=1]
9
ret i32 %D
10
}
11