summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-12-30 22:40:52 +0000
committerSanjay Patel <spatel@rotateright.com>2015-12-30 22:40:52 +0000
commit41160c2094b458a1bd363d40c47a120c26614300 (patch)
treeed384aeda11bb3fe3ee1c5f9fff6ea4dcc244607 /clang/lib/AST/Expr.cpp
parent934b092186b149b5ba2626badeb3bf7719a8e153 (diff)
downloadbcm5719-llvm-41160c2094b458a1bd363d40c47a120c26614300.tar.gz
bcm5719-llvm-41160c2094b458a1bd363d40c47a120c26614300.zip
[ValueTracking] fix bug computing isKnownToBeAPowerOfTwo() with arithmetic shift right (PR25900)
This is a fix for: https://llvm.org/bugs/show_bug.cgi?id=25900 If we think that an arithmetic right shift of a power of two is always a power of two, an sdiv gets wrongly converted to udiv. Differential Revision: http://reviews.llvm.org/D15827 llvm-svn: 256655
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud