mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
whitespace
llvm-svn: 166622
This commit is contained in:
parent
8d4a9a6f07
commit
23bafecedf
@ -1468,7 +1468,7 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I, unsigned VF) {
|
||||
case Instruction::Or:
|
||||
case Instruction::Xor: {
|
||||
Type *VTy = VectorType::get(I->getType(), VF);
|
||||
return VTTI->getInstrCost(I->getOpcode(), VTy);
|
||||
return VTTI->getInstrCost(I->getOpcode(), VTy);
|
||||
}
|
||||
case Instruction::Select: {
|
||||
SelectInst *SI = cast<SelectInst>(I);
|
||||
@ -1476,8 +1476,8 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I, unsigned VF) {
|
||||
const SCEV *CondSCEV = SE->getSCEV(SI->getCondition());
|
||||
bool ScalarCond = (SE->isLoopInvariant(CondSCEV, TheLoop));
|
||||
Type *CondTy = SI->getCondition()->getType();
|
||||
if (ScalarCond)
|
||||
CondTy = VectorType::get(CondTy, VF);
|
||||
if (ScalarCond)
|
||||
CondTy = VectorType::get(CondTy, VF);
|
||||
|
||||
return VTTI->getInstrCost(I->getOpcode(), VTy, CondTy);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user