repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
sdiv-shift.ll
blob
f4d2b36cbbf8d4bc656dfefc6b5ff427cee73d07
1
; RUN: opt < %s -instcombine -S | not grep div
2
3
define i32 @a(i16 zeroext %x, i32 %y) nounwind {
4
entry:
5
%conv = zext i16 %x to i32
6
%s = shl i32 2, %y
7
%d = sdiv i32 %conv, %s
8
ret i32 %d
9
}