diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-21 06:57:07 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-21 06:57:07 +0000 | 
| commit | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (patch) | |
| tree | 311f96478e9fceea407d1f187f9c5cef712f796e /lib/Transforms/Utils/SimplifyIndVar.cpp | |
| parent | b6bcb9a905dec7821221e8ceaf1504c1f329815e (diff) | |
Notes
Diffstat (limited to 'lib/Transforms/Utils/SimplifyIndVar.cpp')
| -rw-r--r-- | lib/Transforms/Utils/SimplifyIndVar.cpp | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/lib/Transforms/Utils/SimplifyIndVar.cpp b/lib/Transforms/Utils/SimplifyIndVar.cpp index 6cb91a154f06a..d54c09aa6ae43 100644 --- a/lib/Transforms/Utils/SimplifyIndVar.cpp +++ b/lib/Transforms/Utils/SimplifyIndVar.cpp @@ -288,14 +288,11 @@ bool SimplifyIndvar::strengthenOverflowingOperation(BinaryOperator *BO,    IntegerType *IT = cast<IntegerType>(IVOperand->getType());    Value *OtherOperand = nullptr; -  int OtherOperandIdx = -1;    if (BO->getOperand(0) == IVOperand) {      OtherOperand = BO->getOperand(1); -    OtherOperandIdx = 1;    } else {      assert(BO->getOperand(1) == IVOperand && "only other use!");      OtherOperand = BO->getOperand(0); -    OtherOperandIdx = 0;    }    bool Changed = false; | 
