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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D6832
Fold a loop for array processing in ComputeLinearIndex (NFC) ClosedPublic Authored by mehdi_amini on Jan 2 2015, 11:04 PM.
Details Summary When processing an array, every Elt has the same layout, it is
Diff Detail Event Timelinemehdi_amini updated this object. mehdi_amini retitled this revision from Fold a loop for array processing in ComputeLinearIndex to Fold a loop for array processing in ComputeLinearIndex (NFC).Jan 13 2015, 2:16 AM Comment Actionsping This revision is now accepted and ready to land.Jan 13 2015, 9:12 PM Closed by commit rL225949: Fold a loop for array processing in ComputeLinearIndex (authored by mehdi_amini). · Explain WhyJan 13 2015, 9:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 17770 include/llvm/CodeGen/Analysis.h
lib/CodeGen/Analysis.cpp
|
s/indice/index/