diff options
Diffstat (limited to 'src/broadcom/compiler/vir_opt_constant_alu.c')
-rw-r--r-- | src/broadcom/compiler/vir_opt_constant_alu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/broadcom/compiler/vir_opt_constant_alu.c b/src/broadcom/compiler/vir_opt_constant_alu.c index 483646f882e..dc4c8a65026 100644 --- a/src/broadcom/compiler/vir_opt_constant_alu.c +++ b/src/broadcom/compiler/vir_opt_constant_alu.c @@ -1,5 +1,5 @@ /* - * Copyright © 2021 Raspberry Pi + * Copyright © 2021 Raspberry Pi Ltd * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -155,6 +155,7 @@ vir_opt_constant_alu(struct v3d_compile *c) { bool progress = false; vir_for_each_block(block, c) { + c->cur_block = block; vir_for_each_inst_safe(inst, block) { progress = try_opt_constant_alu(c, inst) || progress; } |