[NVPTX] Re-enable support for virtual registers in the final output
authorJustin Holewinski <jholewinski@nvidia.com>
Fri, 31 May 2013 12:14:49 +0000 (12:14 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Fri, 31 May 2013 12:14:49 +0000 (12:14 +0000)
commit5443e7d79044f3198f2da044f1b389b40d9bea6f
tree2af410aedc2eb4f9a78443029eb71da208562589
parent7ae921dbec5db9823c89fa736b2a4c3afe163e4f
[NVPTX] Re-enable support for virtual registers in the final output

Now that 3.3 is branched, we are re-enabling virtual registers to help
iron out bugs before the next release. Some of the post-RA passes do
not play well with virtual registers, so we disable them for now. The
needed functionality of the PrologEpilogInserter pass is copied to a
new backend-specific NVPTXPrologEpilog pass.

The test for this commit is not breaking the existing tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/CMakeLists.txt
lib/Target/NVPTX/NVPTX.h
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/NVPTX/NVPTXAsmPrinter.h
lib/Target/NVPTX/NVPTXInstrInfo.cpp
lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp [new file with mode: 0644]
lib/Target/NVPTX/NVPTXRegisterInfo.cpp
lib/Target/NVPTX/NVPTXTargetMachine.cpp
test/CodeGen/NVPTX/intrinsic-old.ll
test/CodeGen/NVPTX/intrinsics.ll