]> granicus.if.org Git - llvm/commit
AMDGPU: Diagnose illegal SGPR to VGPR copies
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 6 Apr 2017 21:09:53 +0000 (21:09 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 6 Apr 2017 21:09:53 +0000 (21:09 +0000)
commitc82755f01b122d1233f614d79b23cbdefc354525
tree9689a48c1874e569e292df15620c92f19669b20a
parent3c04b9a3cf11311732a6a7a774ffd3a5ccc1ec07
AMDGPU: Diagnose illegal SGPR to VGPR copies

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299712 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/illegal-sgpr-to-vgpr-copy.ll [new file with mode: 0644]