llvm.org GIT mirror llvm / 46949d5
Rename CreateTLOF->createTLOF to match the rest of the file and the rest of the targets with a similar function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209926 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 6 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
4949 // FIXME: Remove this once the bug has been fixed!
5050 extern cl::opt ANDIGlueBug;
5151
52 static TargetLoweringObjectFile *CreateTLOF(const PPCTargetMachine &TM) {
52 static TargetLoweringObjectFile *createTLOF(const PPCTargetMachine &TM) {
5353 if (TM.getSubtargetImpl()->isDarwin())
5454 return new TargetLoweringObjectFileMachO();
5555
6060 }
6161
6262 PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
63 : TargetLowering(TM, CreateTLOF(TM)), PPCSubTarget(*TM.getSubtargetImpl()) {
63 : TargetLowering(TM, createTLOF(TM)), PPCSubTarget(*TM.getSubtargetImpl()) {
6464 const PPCSubtarget *Subtarget = &TM.getSubtarget();
6565
6666 setPow2DivIsCheap();
79297929 DCI.AddToWorklist(RV.getNode());
79307930 RV = DAGCombineFastRecip(RV, DCI);
79317931 if (RV.getNode()) {
7932 // Unfortunately, RV is now NaN if the input was exactly 0. Select out
7933 // this case and force the answer to 0.
7932 // Unfortunately, RV is now NaN if the input was exactly 0. Select out
7933 // this case and force the answer to 0.
79347934
79357935 EVT VT = RV.getValueType();
79367936