summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
index 31ad0b5d2c4..3e7836472a1 100644
--- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
@@ -177,7 +177,6 @@ unsigned ARMTTI::getIntImmCost(const APInt &Imm, Type *Ty) const {
// Load from constantpool.
return 3;
}
- return 2;
}
unsigned ARMTTI::getCastInstrCost(unsigned Opcode, Type *Dst,
OpenPOWER on IntegriCloud