AMDGPU: Do not re-use tmpreg in spill/restore lowering
authorMatthias Braun <matze@braunis.de>
Wed, 5 Oct 2016 20:02:51 +0000 (20:02 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 5 Oct 2016 20:02:51 +0000 (20:02 +0000)
commit0a6916f30385c3d3d8dc4a8befd5b6ce57bad721
tree6294947648019007aabc289b728f015193da1ace
parent386546124fdbef8e2478589126cce47e14df7ca1
AMDGPU: Do not re-use tmpreg in spill/restore lowering

The register scavenging code does not support multiple definitions of
the same vreg.

Differential Revision: https://reviews.llvm.org/D25220

llvm-svn: 283369
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp