mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 23:26:25 +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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user