]> granicus.if.org Git - llvm/commit
[AMDGPU] Fix to 'Fold readlane from copy of SGPR or imm'
authorTim Renouf <tpr.llvm@botech.co.uk>
Tue, 13 Aug 2019 18:57:55 +0000 (18:57 +0000)
committerTim Renouf <tpr.llvm@botech.co.uk>
Tue, 13 Aug 2019 18:57:55 +0000 (18:57 +0000)
commit1b0576fa1b41fe0c9d364a188fde94fdf84833ab
tree23d54d2d4304ac73d4225c96032a5660f510b09d
parente752d0808444b8e419b56fc4232418eb07a022f5
[AMDGPU] Fix to 'Fold readlane from copy of SGPR or imm'

That change (r363670) could leave a copy from vgpr to sgpr. Fixed.

Differential Revision: https://reviews.llvm.org/D66133

Change-Id: I00c3fe6fda2e8e1e36f53195b881b1449c777ea4

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368736 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFoldOperands.cpp
test/CodeGen/AMDGPU/fold-readlane.mir