projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix PR7311 by avoiding breaking casts when a bitcast from scalar->vector
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
ashr-nop.ll
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
}