diff options
author | Francisco Jerez <[email protected]> | 2017-12-17 00:21:13 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2017-12-21 15:20:17 -0800 |
commit | b3e3cb990125c71c1fd172588852bd92bcfb8904 (patch) | |
tree | 53780512fbcf13da05547538c1016c75838a2f66 /build-support | |
parent | 1aa79d5ed5fbc9d3ee3c4d279892c49e8393fd3b (diff) |
intel/fs: Initialize fs_visitor::grf_used on construction.
This should shut up some Valgrind errors during pre-regalloc
scheduling. The errors were harmless since they could only have led
to the estimation of the bank conflict penalty of an instruction
pre-regalloc, which is inaccurate at that point of the program
compilation, but no less accurate than the intended "return 0"
fall-back path. The scheduling pass is normally re-run after regalloc
with a well-defined grf_used value and accurate bank conflict
information.
Fixes: acf98ff933d "intel/fs: Teach instruction scheduler about GRF bank conflict cycles."
Reported-by: Eero Tamminen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'build-support')
0 files changed, 0 insertions, 0 deletions