summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorPawel Bylica <chfast@gmail.com>2015-05-20 17:21:09 +0000
committerPawel Bylica <chfast@gmail.com>2015-05-20 17:21:09 +0000
commit8011da9628fff7f9efcf35c83dc3d8e0c1758e6c (patch)
treeaf19b5f685c1f76b521e8e0a7010ff2769043451 /clang/lib/Sema/SemaLookup.cpp
parent2f1637ad8596fb4097a17e7ab6054c332104abd6 (diff)
downloadbcm5719-llvm-8011da9628fff7f9efcf35c83dc3d8e0c1758e6c.tar.gz
bcm5719-llvm-8011da9628fff7f9efcf35c83dc3d8e0c1758e6c.zip
Fix icmp lowering
Summary: During icmp lowering it can happen that a constant value can be larger than expected (see the code around the change). APInt::getMinSignedBits() must be checked again as the shift before can change the constant sign to positive. I'm not sure it is the best fix possible though. Test Plan: Regression test included. Reviewers: resistor, chandlerc, spatel, hfinkel Reviewed By: hfinkel Subscribers: hfinkel, llvm-commits Differential Revision: http://reviews.llvm.org/D9147 llvm-svn: 237812
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud