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:
Craig Topper
2013-07-11 05:39:44 +00:00
parent ace9ed50b5
commit 2ebba647ea

View File

@@ -193,14 +193,14 @@ unsigned CostModelAnalysis::getInstructionCost(const Instruction *I) const {
EEI->getOperand(0)->getType(), Idx); EEI->getOperand(0)->getType(), Idx);
} }
case Instruction::InsertElement: { case Instruction::InsertElement: {
const InsertElementInst * IE = cast<InsertElementInst>(I); const InsertElementInst * IE = cast<InsertElementInst>(I);
ConstantInt *CI = dyn_cast<ConstantInt>(IE->getOperand(2)); ConstantInt *CI = dyn_cast<ConstantInt>(IE->getOperand(2));
unsigned Idx = -1; unsigned Idx = -1;
if (CI) if (CI)
Idx = CI->getZExtValue(); Idx = CI->getZExtValue();
return TTI->getVectorInstrCost(I->getOpcode(), return TTI->getVectorInstrCost(I->getOpcode(),
IE->getType(), Idx); IE->getType(), Idx);
} }
case Instruction::ShuffleVector: { case Instruction::ShuffleVector: {
const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I);
Type *VecTypOp0 = Shuffle->getOperand(0)->getType(); Type *VecTypOp0 = Shuffle->getOperand(0)->getType();