[PATCH] small changes in matrix reorg

Razya Ladelsky RAZYA@il.ibm.com
Thu Dec 20 14:31:00 GMT 2007


Hi,

This patch contains two minor changes to matrix reorg optimization.
The first is in get_index_from_offset, where we allow the offset to be 
composed of shift left operations, and not only multiply operations. 
The second change is for accesses of the form: *matrix_access = something
where we always need to call update_type_size (even for cases of escape)

Tested on power and x86.
OK?

2007-12-20  Razya Ladelsky  <razya@il.ibm.com>

        * matrix-reorg.c (analyze_accesses_for_modify_stmt): move up the 
call 
          to  update_type_size().
        (get_index_from_offset): Add LSHIFT_EXPR to the condition.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-matrix.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071220/5bd8e499/attachment.txt>


More information about the Gcc-patches mailing list