Skip to content
Commit 8923cc54 authored by Mehdi Amini's avatar Mehdi Amini
Browse files

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
parent eeea8970
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment