[llvm] r209926 - Rename CreateTLOF->createTLOF to match the rest of the file and the

Eric Christopher echristo at gmail.com
Fri May 30 15:47:48 PDT 2014


Author: echristo
Date: Fri May 30 17:47:48 2014
New Revision: 209926

URL: http://llvm.org/viewvc/llvm-project?rev=209926&view=rev
Log:
Rename CreateTLOF->createTLOF to match the rest of the file and the
rest of the targets with a similar function name.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=209926&r1=209925&r2=209926&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Fri May 30 17:47:48 2014
@@ -50,7 +50,7 @@ cl::desc("disable unaligned load/store g
 // FIXME: Remove this once the bug has been fixed!
 extern cl::opt<bool> ANDIGlueBug;
 
-static TargetLoweringObjectFile *CreateTLOF(const PPCTargetMachine &TM) {
+static TargetLoweringObjectFile *createTLOF(const PPCTargetMachine &TM) {
   if (TM.getSubtargetImpl()->isDarwin())
     return new TargetLoweringObjectFileMachO();
 
@@ -61,7 +61,7 @@ static TargetLoweringObjectFile *CreateT
 }
 
 PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
-  : TargetLowering(TM, CreateTLOF(TM)), PPCSubTarget(*TM.getSubtargetImpl()) {
+  : TargetLowering(TM, createTLOF(TM)), PPCSubTarget(*TM.getSubtargetImpl()) {
   const PPCSubtarget *Subtarget = &TM.getSubtarget<PPCSubtarget>();
 
   setPow2DivIsCheap();
@@ -7930,8 +7930,8 @@ SDValue PPCTargetLowering::PerformDAGCom
       DCI.AddToWorklist(RV.getNode());
       RV = DAGCombineFastRecip(RV, DCI);
       if (RV.getNode()) {
-	// Unfortunately, RV is now NaN if the input was exactly 0. Select out
-	// this case and force the answer to 0.
+        // Unfortunately, RV is now NaN if the input was exactly 0. Select out
+        // this case and force the answer to 0.
 
         EVT VT = RV.getValueType();
 





More information about the llvm-commits mailing list