[PATCH] D82965: AMDGPU: Clear subreg when folding immediate copies

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 08:06:11 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, kerbowa, scott.linder.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

This was getting reinterpreted as operand target flags, and appearing
as as <unknown target flag>, resulting in unparseable MIR.


https://reviews.llvm.org/D82965

Files:
  llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
  llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
  llvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82965.274809.patch
Type: text/x-patch
Size: 8641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/f05ca07d/attachment.bin>


More information about the llvm-commits mailing list