mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 04:28:30 +00:00
Fix indentation. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ace9ed50b5
commit
2ebba647ea
@ -193,14 +193,14 @@ unsigned CostModelAnalysis::getInstructionCost(const Instruction *I) const {
|
||||
EEI->getOperand(0)->getType(), Idx);
|
||||
}
|
||||
case Instruction::InsertElement: {
|
||||
const InsertElementInst * IE = cast<InsertElementInst>(I);
|
||||
ConstantInt *CI = dyn_cast<ConstantInt>(IE->getOperand(2));
|
||||
unsigned Idx = -1;
|
||||
if (CI)
|
||||
Idx = CI->getZExtValue();
|
||||
return TTI->getVectorInstrCost(I->getOpcode(),
|
||||
IE->getType(), Idx);
|
||||
}
|
||||
const InsertElementInst * IE = cast<InsertElementInst>(I);
|
||||
ConstantInt *CI = dyn_cast<ConstantInt>(IE->getOperand(2));
|
||||
unsigned Idx = -1;
|
||||
if (CI)
|
||||
Idx = CI->getZExtValue();
|
||||
return TTI->getVectorInstrCost(I->getOpcode(),
|
||||
IE->getType(), Idx);
|
||||
}
|
||||
case Instruction::ShuffleVector: {
|
||||
const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I);
|
||||
Type *VecTypOp0 = Shuffle->getOperand(0)->getType();
|
||||
|
Loading…
Reference in New Issue
Block a user