Fix use of pbb_number_of_iterations_at_time.
commit2950174acad2717f1feadb504dfef3656de22859
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Nov 2009 07:02:21 +0000 (19 07:02 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Nov 2009 07:02:21 +0000 (19 07:02 +0000)
treec1419f8df46f4080bff0442ed1cb6d995b0341f5
parent2b38c11d084c7d0a339df5a90a495ee91c67c1f1
Fix use of pbb_number_of_iterations_at_time.

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/branches/graphite@154321 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-blocking.c