Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [DAGCombiner] Fold together mul and shl when both are by a constant | John Brawn | 2015-08-21 | 1 | -0/+77 |
This is intended to improve code generation for GEPs, as the index value is shifted by the element size and in GEPs of multi-dimensional arrays the index of higher dimensions is multiplied by the lower dimension size. Differential Revision: http://reviews.llvm.org/D12197 llvm-svn: 245689 |