diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-27 03:45:49 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-27 03:45:49 +0000 |
commit | 2ecb77e31fa93837aa187deef19b429cb8e079c6 (patch) | |
tree | b94df98365001b6d39a733ba905d1cb8f0d56801 | |
parent | 5d495ae49bd05aa2015c316a2e39fed0c080232d (diff) | |
download | bcm5719-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
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 2 |
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; |