[NVPTX] Start conversion to MC infrastructure
authorJustin Holewinski <jholewinski@nvidia.com>
Tue, 6 Aug 2013 14:13:27 +0000 (14:13 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Tue, 6 Aug 2013 14:13:27 +0000 (14:13 +0000)
commit82767327c59ede1f8663ec9b9a64a668993d501f
treef6e6c75ebb7e82f6d86053b46551572aedb5d621
parent8775a51d94b277ca6ebe12a1d20bfc2bc5a53960
[NVPTX] Start conversion to MC infrastructure

This change converts the NVPTX target to use the MC infrastructure
instead of directly emitting MachineInstr instances. This brings
the target more up-to-date with LLVM TOT, and should fix PR15175
and PR15958 (libNVPTXInstPrinter is empty) as a side-effect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187798 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/CMakeLists.txt
lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h [new file with mode: 0644]
lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
lib/Target/NVPTX/NVPTX.td
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/NVPTX/NVPTXAsmPrinter.h
lib/Target/NVPTX/NVPTXISelLowering.cpp
lib/Target/NVPTX/NVPTXMCExpr.cpp [new file with mode: 0644]
lib/Target/NVPTX/NVPTXMCExpr.h [new file with mode: 0644]
test/CodeGen/NVPTX/fp-literals.ll [new file with mode: 0644]