diff options
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineCalls.cpp')
| -rw-r--r-- | lib/Transforms/InstCombine/InstCombineCalls.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp index 4fd90d78a63b..6989d67f0060 100644 --- a/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -3619,7 +3619,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {      // then this one is redundant, and should be removed.      KnownBits Known(1);      computeKnownBits(IIOperand, Known, 0, II); -    if (Known.One.isAllOnesValue()) +    if (Known.isAllOnes())        return eraseInstFromFunction(*II);      // Update the cache of affected values for this assumption (we might be  | 
