[PATCH] D63225: AMDGPU: Fold readlane from copy of SGPR or imm

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 17:48:39 PDT 2019


arsenm added a comment.

In D63225#1544639 <https://reviews.llvm.org/D63225#1544639>, @rampitec wrote:

> This cannot work as written, at least readlane part. Maybe readfirstlane can, providing skip is always inserted around and def is in the same block. Otherwise it needs to be a virtual register and SSA.


SIFoldOperands is SSA only, and physical registers are filtered out already


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63225/new/

https://reviews.llvm.org/D63225





More information about the llvm-commits mailing list