repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
InstCombine
/
ashr-nop.ll
blob
870ede38cd888f5a18be161944b4e85e7533b254
1
; RUN: opt < %s -instcombine -S | not grep ashr
2
3
define i32 @foo(i32 %x) {
4
%o = and i32 %x, 1
5
%n = add i32 %o, -1
6
%t = ashr i32 %n, 17
7
ret i32 %t
8
}