repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2009-03-24-InfLoop.ll
blob
4ce04a1eb5429333aa1af48b16dec2ce7d4d2c84
1
; PR3874
2
; RUN: opt < %s -instcombine | llvm-dis
3
define i1 @test(i32 %x) {
4
%A = lshr i32 3968, %x
5
%B = and i32 %A, 1
6
%C = icmp eq i32 %B, 0
7
ret i1 %C
8
}
9