diff options
author | Jason Ekstrand <[email protected]> | 2015-03-16 14:55:00 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-03-17 17:11:05 -0700 |
commit | 1be862c0c4965a0184908df736a30d354498ba3d (patch) | |
tree | 42c00f8b5eb2dc39488db3a86f51aa0595921f7f /src/hgl | |
parent | 8cf40ed05dbd3a62ee817e7ebc9409cf327c10ce (diff) |
nir/peephole_select: Copy instructions into the block before the if
Previously we tried to do poor-man's copy propagation as we created the
select instructions. Instead, this commit just moves the instructions from
the blocks inside the if into the block before. Copy propagation will take
care of making sure we don't have any extra mov's in there for us.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions