[NVPTX] Fix bug in stack code generation causes by MC conversion
authorJustin Holewinski <jholewinski@nvidia.com>
Tue, 6 Aug 2013 14:13:31 +0000 (14:13 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Tue, 6 Aug 2013 14:13:31 +0000 (14:13 +0000)
commita3635eefc749389aed84d9791fab657297203e1b
tree613f5d28fe902b437c84eebdf89c60eb5f60c9ce
parent82767327c59ede1f8663ec9b9a64a668993d501f
[NVPTX] Fix bug in stack code generation causes by MC conversion

We do use a very small set of physical registers, so account for
them in the virtual register encoding between MachineInstr and MC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187799 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/NVPTX/NVPTXFrameLowering.cpp
lib/Target/NVPTX/NVPTXInstrInfo.td
test/CodeGen/NVPTX/local-stack-frame.ll [new file with mode: 0644]