2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:30:35 +0000 (05:30 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:30:35 +0000 (05:30 +0000)
commit9a0158f5405d63f114f45afd293cd69182a0bdb4
tree022a1de63537215778d0a70548c761ac2d1a3dda
parent9d274e750ce672d3e03ebbffb6d32506609ecb6d
2009-11-18  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-blocking.c (pbb_strip_mine_profitable_p): The parameter
depth is the loop nesting depth in the LST.  Call psct_dynamic_dim
to transform depth into the time_depth before calling
pbb_number_of_iterations_at_time.
(lst_do_strip_mine): Use a scalar variable instead of recomputing
lst_depth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154637 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-blocking.c