mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
brw: Remove extra iteration on instructions from brw_opt_address_reg_load
The helper function already iterate instructions. Fixes:8ac7802ac8("brw: move final send lowering up into the IR") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36478> (cherry picked from commitf222b16f92)
This commit is contained in:
parent
2a7afb5024
commit
04352acc96
2 changed files with 2 additions and 4 deletions
|
|
@ -3254,7 +3254,7 @@
|
|||
"description": "brw: Remove extra iteration on instructions from brw_opt_address_reg_load",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "8ac7802ac835eb8e01e88a477586bae7dc547034",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -59,9 +59,7 @@ brw_opt_address_reg_load(brw_shader &s)
|
|||
const brw_def_analysis &defs = s.def_analysis.require();
|
||||
|
||||
foreach_block(block, s.cfg) {
|
||||
foreach_inst_in_block_safe(brw_inst, inst, block) {
|
||||
progress = opt_address_reg_load_local(s, block, defs) || progress;
|
||||
}
|
||||
progress = opt_address_reg_load_local(s, block, defs) || progress;
|
||||
}
|
||||
|
||||
if (progress) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue