projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LoopVectorizer: integer division is not a reduction operation
[oota-llvm.git]
/
lib
/
Transforms
/
Vectorize
/
LoopVectorize.cpp
diff --git
a/lib/Transforms/Vectorize/LoopVectorize.cpp
b/lib/Transforms/Vectorize/LoopVectorize.cpp
index acf2b819b81377702f52fc4c1035f1074bf4f25f..238fc8bfb701617efcd8b4ef13858d1d781ff161 100644
(file)
--- a/
lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/
lib/Transforms/Vectorize/LoopVectorize.cpp
@@
-2833,8
+2833,6
@@
LoopVectorizationLegality::isReductionInstr(Instruction *I,
case Instruction::Sub:
case Instruction::Add:
return Kind == RK_IntegerAdd;
- case Instruction::SDiv:
- case Instruction::UDiv:
case Instruction::Mul:
return Kind == RK_IntegerMult;
case Instruction::And: