projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't restrict the set of instructions where we try to constant-fold the
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-12-17-SRemNegConstVec.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {i8 2, i8 2}
2
; PR2756
3
4
define <2 x i8> @foo(<2 x i8> %x) {
5
%A = srem <2 x i8> %x, <i8 2, i8 -2>
6
ret <2 x i8> %A
7
}