[llvm] r186065 - Fix indentation. No functional change.
Craig Topper
craig.topper at gmail.com
Wed Jul 10 22:39:44 PDT 2013
Author: ctopper
Date: Thu Jul 11 00:39:44 2013
New Revision: 186065
URL: http://llvm.org/viewvc/llvm-project?rev=186065&view=rev
Log:
Fix indentation. No functional change.
Modified:
llvm/trunk/lib/Analysis/CostModel.cpp
Modified: llvm/trunk/lib/Analysis/CostModel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CostModel.cpp?rev=186065&r1=186064&r2=186065&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CostModel.cpp (original)
+++ llvm/trunk/lib/Analysis/CostModel.cpp Thu Jul 11 00:39:44 2013
@@ -193,14 +193,14 @@ unsigned CostModelAnalysis::getInstructi
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();
More information about the llvm-commits
mailing list