summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ValueTracking/known-power-of-two.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ValueTracking] fix bug computing isKnownToBeAPowerOfTwo() with arithmetic ↵Sanjay Patel2015-12-301-0/+20
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
OpenPOWER on IntegriCloud