[PATCH] D31353: AMDGPU: Diagnose illegal SGPR to VGPR copies

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 13:47:08 PDT 2017


arsenm created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

This is possible in ways that are not compiler bugs,
so stop asserting on them.

      

This emits an extra error when emitting objects when it
can't encode the new pseudo, but I'm not sure that matters.


https://reviews.llvm.org/D31353

Files:
  lib/Target/AMDGPU/SIInstrFormats.td
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/illegal-sgpr-to-vgpr-copy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31353.93000.patch
Type: text/x-patch
Size: 7145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170324/3078b7e9/attachment.bin>


More information about the llvm-commits mailing list