Remove all use of getDrvInterface off of NVPTXSubtarget and clean
authorEric Christopher <echristo@gmail.com>
Thu, 19 Feb 2015 00:08:23 +0000 (00:08 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Feb 2015 00:08:23 +0000 (00:08 +0000)
commitc72978539d50a91b7c201229eeabeac517d5c7f7
tree29a5a525eb33d7aefa69dec6c8197a304e7a353a
parent9d2ea22e2b0842e692d58e7f127951b3d86ab75d
Remove all use of getDrvInterface off of NVPTXSubtarget and clean
up code accordingly. Delete code that was checking for all cases
of an enum.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229786 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
lib/Target/NVPTX/NVPTXSubtarget.cpp
lib/Target/NVPTX/NVPTXSubtarget.h