diff options
author | Juan A. Suarez Romero <[email protected]> | 2019-02-12 08:54:43 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-02-15 15:14:36 +0100 |
commit | 69be9934a780eadc7c0b64465fae8431eb979dae (patch) | |
tree | 6f3b73dca9c3a1474a45186aaa5d5b0bc86f7f00 /scons | |
parent | a43596df624678c39bc7108a04c8d1afc74663b0 (diff) |
nir: move ALU instruction before the jump instruction
opt_split_alu_of_phi moves ALU instruction to the end of continue block.
But if the continue block ends with a jump instruction (an explicit
"continue" instruction) then the ALU must be inserted before the jump,
as it is illegal to add instructions after the jump.
CC: Ian Romanick <[email protected]>
Fixes: 0881e90c099 ("nir: Split ALU instructions in loops that read phis")
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions