HomePhabricator

[AMDGPU] Fix to 'Fold readlane from copy of SGPR or imm'

Authored by tpr on Aug 13 2019, 11:57 AM.

Description

[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
llvm-svn: 368736