diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-01-14 05:33:01 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-01-14 05:33:01 +0000 |
commit | 8923cc5470a1a6c728c800a409d1c6c86d52825a (patch) | |
tree | 56089b2fdf800645dc970b329c3a6932f1fcd790 /llvm/unittests/Bitcode | |
parent | eeea8970b4b12b5493d603ceff960e4b19296c1f (diff) | |
download | llvm-8923cc5470a1a6c728c800a409d1c6c86d52825a.zip llvm-8923cc5470a1a6c728c800a409d1c6c86d52825a.tar.gz llvm-8923cc5470a1a6c728c800a409d1c6c86d52825a.tar.bz2 |
Fold a loop for array processing in ComputeLinearIndex
When processing an array, every Elt has the same layout, it is
useless to recursively call each ComputeLinearIndex on each element.
Just do it once and multiply by the number of elements.
Differential Revision: http://reviews.llvm.org/D6832
llvm-svn: 225949
Diffstat (limited to 'llvm/unittests/Bitcode')
0 files changed, 0 insertions, 0 deletions