forked from OSchip/llvm-project
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:
parent
5d495ae49b
commit
2ecb77e31f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue