Use the target lowering we can get off of the DAG rather than off

of the cached target machine.

llvm-svn: 211858
This commit is contained in:
Eric Christopher 2014-06-27 03:45:49 +00:00
parent 5d495ae49b
commit 2ecb77e31f
1 changed files with 1 additions and 1 deletions

View File

@ -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;