llvm.org GIT mirror llvm / 031d076
Merging r213793: ------------------------------------------------------------------------ r213793 | jholewinski | 2014-07-23 16:23:47 -0400 (Wed, 23 Jul 2014) | 4 lines [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/branches/release_35@214310 91177308-0d34-0410-b5e6-96231b3b80d8 Justin Holewinski 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9797 }
9898
9999 bool NVPTXDAGToDAGISel::allowFMA() const {
100 const NVPTXTargetLowering *TL = (NVPTXTargetLowering *)getTargetLowering();
100 const NVPTXTargetLowering *TL = Subtarget.getTargetLowering();
101101 return TL->allowFMA(*MF, OptLevel);
102102 }
103103