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/SIISelLowering.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/SIISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/R600/SIISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/R600/SIISelLowering.cpp b/llvm/lib/Target/R600/SIISelLowering.cpp index 2e982e2c0a3..f7717dacfc6 100644 --- a/llvm/lib/Target/R600/SIISelLowering.cpp +++ b/llvm/lib/Target/R600/SIISelLowering.cpp @@ -395,8 +395,8 @@ SDValue SITargetLowering::LowerFormalArguments( } SmallVector<CCValAssign, 16> ArgLocs; - CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), - getTargetMachine(), ArgLocs, *DAG.getContext()); + CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, + *DAG.getContext()); // At least one interpolation mode must be enabled or else the GPU will hang. if (Info->getShaderType() == ShaderType::PIXEL && |

