[NVPTX] Silence a GCC warning found by the buildbots
authorJustin Holewinski <jholewinski@nvidia.com>
Wed, 23 Jul 2014 20:23:47 +0000 (20:23 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Wed, 23 Jul 2014 20:23:47 +0000 (20:23 +0000)
commitce6416893041b3627bf2351c21a91c04eeca23cc
tree5143ab1e194280f1810a516ef8050c1504bf96b8
parentd55c7c7f42f49aff5c6ff47728552d849518d360
[NVPTX] Silence a GCC warning found by the buildbots

The cast to NVPTXTargetLowering was missing a 'const', but let's
just access the right pointer through the subtarget anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213793 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp