summaryrefslogtreecommitdiffstats
path: root/src/hgl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-03-16 14:55:00 -0700
committerJason Ekstrand <[email protected]>2015-03-17 17:11:05 -0700
commit1be862c0c4965a0184908df736a30d354498ba3d (patch)
tree42c00f8b5eb2dc39488db3a86f51aa0595921f7f /src/hgl
parent8cf40ed05dbd3a62ee817e7ebc9409cf327c10ce (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