mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
i965/fs: Fix indentation in fs_live_variables::compute_start_end
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
4a168ad797
commit
9d2bbca98d
1 changed files with 8 additions and 9 deletions
|
|
@ -259,16 +259,15 @@ fs_live_variables::compute_start_end()
|
|||
struct block_data *bd = &block_data[block->num];
|
||||
|
||||
for (int i = 0; i < num_vars; i++) {
|
||||
if (BITSET_TEST(bd->livein, i)) {
|
||||
start[i] = MIN2(start[i], block->start_ip);
|
||||
end[i] = MAX2(end[i], block->start_ip);
|
||||
}
|
||||
|
||||
if (BITSET_TEST(bd->liveout, i)) {
|
||||
start[i] = MIN2(start[i], block->end_ip);
|
||||
end[i] = MAX2(end[i], block->end_ip);
|
||||
}
|
||||
if (BITSET_TEST(bd->livein, i)) {
|
||||
start[i] = MIN2(start[i], block->start_ip);
|
||||
end[i] = MAX2(end[i], block->start_ip);
|
||||
}
|
||||
|
||||
if (BITSET_TEST(bd->liveout, i)) {
|
||||
start[i] = MIN2(start[i], block->end_ip);
|
||||
end[i] = MAX2(end[i], block->end_ip);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue