diff options
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 40269a8a9bd..7dd11ffb3e5 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -632,7 +632,7 @@ bool ARMFastISel::ARMComputeRegOffset(const Value *Obj, AddrBase &Base,              if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {                // Constant-offset addressing.                TmpOffset += CI->getSExtValue() * S; -            } else if (0 && isa<AddOperator>(Op) && +            } else if (isa<AddOperator>(Op) &&                         isa<ConstantInt>(cast<AddOperator>(Op)->getOperand(1))) {                // An add with a constant operand. Fold the constant.                ConstantInt *CI = | 

