[llvm] r211858 - Use the target lowering we can get off of the DAG rather than off
Eric Christopher
echristo at gmail.com
Thu Jun 26 20:45:49 PDT 2014
Author: echristo
Date: Thu Jun 26 22:45:49 2014
New Revision: 211858
URL: http://llvm.org/viewvc/llvm-project?rev=211858&view=rev
Log:
Use the target lowering we can get off of the DAG rather than off
of the cached target machine.
Modified:
llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp
Modified: llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp?rev=211858&r1=211857&r2=211858&view=diff
==============================================================================
--- llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp Thu Jun 26 22:45:49 2014
@@ -1501,7 +1501,7 @@ SDValue NVPTXTargetLowering::LowerFormal
const Function *F = MF.getFunction();
const AttributeSet &PAL = F->getAttributes();
- const TargetLowering *TLI = nvTM->getTargetLowering();
+ const TargetLowering *TLI = DAG.getTarget().getTargetLowering();
SDValue Root = DAG.getRoot();
std::vector<SDValue> OutChains;
More information about the llvm-commits
mailing list