repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
Transforms
/
InstSimplify
/
2011-01-14-Thread.ll
blob
8fc4dc5d5bb7aaaf4b01bbf6e217e9e9836159c2
1
; RUN: opt < %s -instsimplify -S | FileCheck %s
2
3
define i32 @shift_select(i1 %cond) {
4
; CHECK: @shift_select
5
%s = select i1 %cond, i32 0, i32 1
6
%r = lshr i32 %s, 1
7
ret i32 %r
8
; CHECK: ret i32 0
9
}