[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)
commit2cb5e181d14a6ccfc8ce70e74ab82c7f53c88e26
tree2f99883a3446efac13bea632e07716894ca66af2
parentc4968e508b17b270ae3efdfa0f679b09887cf9e2
[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.

llvm-svn: 213793
llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp