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
improve validity check to handle constant-trip-count loops more
[llvm/stm8.git]
/
test
/
Transforms
/
InstSimplify
/
2010-12-31-ValueNumber.ll
blob
5fd94aa78abc93320f4ffd38569d4be32a06a513
1
; RUN: opt < %s -instsimplify -S | FileCheck %s
2
define i1 @g(i32 %a) nounwind readnone {
3
; CHECK: @g
4
%add = shl i32 %a, 1
5
%mul = shl i32 %a, 1
6
%cmp = icmp ugt i32 %add, %mul
7
ret i1 %cmp
8
; CHECK: ret i1 false
9
}