mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
LoopVectorize: Division reductions generate incorrect code. Remove the part of the code that deals with divs.
Thanks to Paul Redmond for catching this while reviewing the code. llvm-svn: 168142
This commit is contained in:
parent
ad33f996a6
commit
84e1ff3bfb
@ -1671,8 +1671,6 @@ LoopVectorizationLegality::isReductionInstr(Instruction *I,
|
||||
case Instruction::Sub:
|
||||
return Kind == IntegerAdd;
|
||||
case Instruction::Mul:
|
||||
case Instruction::UDiv:
|
||||
case Instruction::SDiv:
|
||||
return Kind == IntegerMult;
|
||||
case Instruction::And:
|
||||
return Kind == IntegerAnd;
|
||||
|
Loading…
Reference in New Issue
Block a user