aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-07-09 18:11:10 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-07-09 18:11:10 +0000
commita92b3c914ebb356aec22c978eae9fa9543fa62e6 (patch)
treeaf6fcc230e71b72de881bf2ec0832280ca442715 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent861bef7dd05cb15ce1c0237e55798ea94bfb9b97 (diff)
downloadllvm-a92b3c914ebb356aec22c978eae9fa9543fa62e6.zip
llvm-a92b3c914ebb356aec22c978eae9fa9543fa62e6.tar.gz
llvm-a92b3c914ebb356aec22c978eae9fa9543fa62e6.tar.bz2
ValueTracking: Fix bugs in isKnownToBeAPowerOfTwo
(add nsw x, (and x, y)) isn't a power of two if x is zero, it's zero (add nsw x, (xor x, y)) isn't a power of two if y has bits set that aren't set in x llvm-svn: 185954
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions