i965/fs: fix a comment in compact_virtual_grfs
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -1776,10 +1776,10 @@ fs_visitor::compact_virtual_grfs()
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_OPTIMIZER))
|
||||
return;
|
||||
|
||||
/* Mark which virtual GRFs are used, and count how many. */
|
||||
int remap_table[this->virtual_grf_count];
|
||||
memset(remap_table, -1, sizeof(remap_table));
|
||||
|
||||
/* Mark which virtual GRFs are used. */
|
||||
foreach_block_and_inst(block, const fs_inst, inst, cfg) {
|
||||
if (inst->dst.file == GRF)
|
||||
remap_table[inst->dst.reg] = 0;
|
||||
|
||||
Reference in New Issue
Block a user