summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/Scalarizer.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-12-06 21:13:30 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-12-06 21:13:30 +0000
commit00cfa747156c8a7bb25be3e6a85272a61b0b15ca (patch)
tree3f9aaf7d2c08c06a3c88cf8b2bf7d81e7cb1287d /llvm/lib/Transforms/Scalar/Scalarizer.cpp
parent14ceb45fb491ea54a61efb9e32c7b1dc902fa009 (diff)
downloadbcm5719-llvm-00cfa747156c8a7bb25be3e6a85272a61b0b15ca.tar.gz
bcm5719-llvm-00cfa747156c8a7bb25be3e6a85272a61b0b15ca.zip
AMDGPU/SI: Don't move copies of immediates to the VALU
Summary: If we write an immediate to a VGPR and then copy the VGPR to an SGPR, we can replace the copy with a S_MOV_B32 sgpr, imm, rather than moving the copy to the SALU. Reviewers: arsenm Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, llvm-commits, tony-tye Differential Revision: https://reviews.llvm.org/D27272 llvm-svn: 288849
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Scalarizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud