diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-05-08 18:58:55 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-05-08 18:58:55 +0000 |
commit | 14f5080aa1531c5586c78c573bdc83ba4bed94ae (patch) | |
tree | 951672a9fbb0358f6dbcee4a8dac84440e98ea46 /llvm/lib/Support/BlockFrequency.cpp | |
parent | b340f0a7bc9f2835c52f7bd646b321cc83d7b36e (diff) | |
download | bcm5719-llvm-14f5080aa1531c5586c78c573bdc83ba4bed94ae.tar.gz bcm5719-llvm-14f5080aa1531c5586c78c573bdc83ba4bed94ae.zip |
[BasicAA] Fix zext & sext handling
Summary:
There are several unhandled edge cases in BasicAA's GetLinearExpression
method. This changes fixes outstanding issues, including zext / sext of
a constant with the sign bit set, and the refusal to decompose zexts or
sexts of wrapping arithmetic.
Test Plan: Unit tests added in //q.ext.ll//.
Patch by Nick White.
Reviewers: hfinkel, sanjoy
Reviewed By: hfinkel, sanjoy
Subscribers: sanjoy, llvm-commits, hfinkel
Differential Revision: http://reviews.llvm.org/D6682
llvm-svn: 236894
Diffstat (limited to 'llvm/lib/Support/BlockFrequency.cpp')
0 files changed, 0 insertions, 0 deletions