diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-08-06 18:45:26 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-08-06 18:45:26 +0000 |
| commit | b5217507c7b6cb1e72109313e0980c55bddc534b (patch) | |
| tree | 29f5b876c8951970cad1518d77cf065694d09d88 /llvm/lib/Target/R600/R600ISelLowering.cpp | |
| parent | 364d13170a62e006934cb5761c9bb90378304775 (diff) | |
| download | bcm5719-llvm-b5217507c7b6cb1e72109313e0980c55bddc534b.tar.gz bcm5719-llvm-b5217507c7b6cb1e72109313e0980c55bddc534b.zip | |
Remove the target machine from CCState. Previously it was only used
to get the subtarget and that's accessible from the MachineFunction
now. This helps clear the way for smaller changes where we getting
a subtarget will require passing in a MachineFunction/Function as
well.
llvm-svn: 214988
Diffstat (limited to 'llvm/lib/Target/R600/R600ISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/R600/R600ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/R600/R600ISelLowering.cpp b/llvm/lib/Target/R600/R600ISelLowering.cpp index aa51ac8ae39..8877cc85504 100644 --- a/llvm/lib/Target/R600/R600ISelLowering.cpp +++ b/llvm/lib/Target/R600/R600ISelLowering.cpp @@ -1692,8 +1692,8 @@ SDValue R600TargetLowering::LowerFormalArguments( SDLoc DL, SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals) const { SmallVector<CCValAssign, 16> ArgLocs; - CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), - getTargetMachine(), ArgLocs, *DAG.getContext()); + CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, + *DAG.getContext()); MachineFunction &MF = DAG.getMachineFunction(); unsigned ShaderType = MF.getInfo<R600MachineFunctionInfo>()->getShaderType(); |

