summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 03:45:49 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 03:45:49 +0000
commit2ecb77e31fa93837aa187deef19b429cb8e079c6 (patch)
treeb94df98365001b6d39a733ba905d1cb8f0d56801 /llvm/lib
parent5d495ae49bd05aa2015c316a2e39fed0c080232d (diff)
downloadbcm5719-llvm-2ecb77e31fa93837aa187deef19b429cb8e079c6.tar.gz
bcm5719-llvm-2ecb77e31fa93837aa187deef19b429cb8e079c6.zip
Use the target lowering we can get off of the DAG rather than off
of the cached target machine. llvm-svn: 211858
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index 0e3e0d50ade..60da5f1f776 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -1501,7 +1501,7 @@ SDValue NVPTXTargetLowering::LowerFormalArguments(
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;
OpenPOWER on IntegriCloud