aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-09-03 23:03:18 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-09-03 23:03:18 +0000
commitc6ab01eccae05aee4bae81a875a6eb88907247c5 (patch)
treebd4c16b8d55d58e1697cf55275b6c8d167790348 /llvm/tools/llvm-cov/CodeCoverage.cpp
parentfb5d6852c6038455dca4da196558803005ced0d1 (diff)
downloadllvm-c6ab01eccae05aee4bae81a875a6eb88907247c5.zip
llvm-c6ab01eccae05aee4bae81a875a6eb88907247c5.tar.gz
llvm-c6ab01eccae05aee4bae81a875a6eb88907247c5.tar.bz2
IndVarSimplify: Don't let LFTR compare against a poison value
LinearFunctionTestReplace tries to use the *next* indvar to compare against when possible. However, it may be the case that the calculation for the next indvar has NUW/NSW flags and that it may only be safely used inside the loop. Using it in a comparison to calculate the exit condition could result in observing poison. This fixes PR20680. Differential Revision: http://reviews.llvm.org/D5174 llvm-svn: 217102
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions