commit | 4fae32e28baffebc13168be979af5397fed048bf | [log] [tgz] |
---|---|---|
author | Tom Stellard <thomas.stellard@amd.com> | Tue Dec 06 21:13:30 2016 +0000 |
committer | Tom Stellard <thomas.stellard@amd.com> | Tue Dec 06 21:13:30 2016 +0000 |
tree | 46b0d2810662a665deaf6f3b73b9fd514a1f4674 | |
parent | 2c23a5b605f13191ad75f48359dc5cd38d428897 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288849 91177308-0d34-0410-b5e6-96231b3b80d8