summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/fold-vgpr-copy.mir
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU] Allow folding of sgpr to vgpr copyStanislav Mekhanoshin2019-10-231-5/+20
| | | | | | | | Potentially sgpr to sgpr copy should also be possible. That is however trickier because we may end up with a wrong register class at use because of xm0/xexec permutations. Differential Revision: https://reviews.llvm.org/D69280
* [AMDGPU] Updated fold-vgpr-copy.mir test. NFC.Stanislav Mekhanoshin2019-10-221-14/+9
|
* [AMDGPU] Allow tied operand subreg foldingStanislav Mekhanoshin2019-10-221-0/+16
| | | | | | Turns out it makes sense, contrarily to what comment said. Differential Revision: https://reviews.llvm.org/D69287
* [AMDGPU] Fold copy (copy vgpr)Stanislav Mekhanoshin2018-09-271-0/+27
This allows to reduce a number of used VGPRs in some cases. Differential Revision: https://reviews.llvm.org/D52577 llvm-svn: 343249
OpenPOWER on IntegriCloud