diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2017-01-24 17:46:17 +0000 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2017-01-24 17:46:17 +0000 |
commit | 22a56f2f5a1fd0c248260b597f85586973294523 (patch) | |
tree | 60ad42a8348672186089e0bc98b79e031e6b0d7c /llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp | |
parent | 310c3d3d26b81a816119e2e3d3fc9d03a75ee075 (diff) | |
download | bcm5719-llvm-22a56f2f5a1fd0c248260b597f85586973294523.tar.gz bcm5719-llvm-22a56f2f5a1fd0c248260b597f85586973294523.zip |
[AMDGPU] Add VGPR copies post regalloc fix pass
Regalloc creates COPY instructions which do not formally use VALU.
That results in v_mov instructions displaced after exec mask modification.
One pass which do it is SIOptimizeExecMasking, but potentially it can be
done by other passes too.
This patch adds a pass immediately after regalloc to add implicit exec
use operand to all VGPR copy instructions.
Differential Revision: https://reviews.llvm.org/D28874
llvm-svn: 292956
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp')
0 files changed, 0 insertions, 0 deletions