1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

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 a85c76778d
commit e3a87b8eff

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;