summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-01-24 17:46:17 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-01-24 17:46:17 +0000
commit22a56f2f5a1fd0c248260b597f85586973294523 (patch)
tree60ad42a8348672186089e0bc98b79e031e6b0d7c /llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
parent310c3d3d26b81a816119e2e3d3fc9d03a75ee075 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud