comment typo and reformat
authorAndrew Trick <atrick@apple.com>
Thu, 5 Dec 2013 17:55:47 +0000 (17:55 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 5 Dec 2013 17:55:47 +0000 (17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196513 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCSchedule.h
lib/CodeGen/MachineScheduler.cpp

index 6881e1d05ac3ec7c0c816e100191c3962be75706..8cd56b331571efb90900368013a300e71c0f1eb0 100644 (file)
@@ -149,7 +149,7 @@ public:
   // but we balance those stalls against other heuristics.
   //
   // "> 1" means the processor is out-of-order. This is a machine independent
-  // estimate of highly machine specific characteristics such are the register
+  // estimate of highly machine specific characteristics such as the register
   // renaming pool and reorder buffer.
   unsigned MicroOpBufferSize;
   static const unsigned DefaultMicroOpBufferSize = 0;
index e71c4df0b797f3e6c08ba92f7d01ee72b4a273b5..f8c4a893c129e736e2bda5ba6bf9866fe46d2554 100644 (file)
@@ -2445,10 +2445,10 @@ static bool tryLatency(GenericScheduler::SchedCandidate &TryCand,
 /// \param RPTracker describes reg pressure within the scheduled zone.
 /// \param TempTracker is a scratch pressure tracker to reuse in queries.
 void GenericScheduler::tryCandidate(SchedCandidate &Cand,
-                                       SchedCandidate &TryCand,
-                                       SchedBoundary &Zone,
-                                       const RegPressureTracker &RPTracker,
-                                       RegPressureTracker &TempTracker) {
+                                    SchedCandidate &TryCand,
+                                    SchedBoundary &Zone,
+                                    const RegPressureTracker &RPTracker,
+                                    RegPressureTracker &TempTracker) {
 
   if (DAG->isTrackingPressure()) {
     // Always initialize TryCand's RPDelta.
@@ -2651,8 +2651,8 @@ void GenericScheduler::traceCandidate(const SchedCandidate &Cand) {
 /// DAG building. To adjust for the current scheduling location we need to
 /// maintain the number of vreg uses remaining to be top-scheduled.
 void GenericScheduler::pickNodeFromQueue(SchedBoundary &Zone,
-                                            const RegPressureTracker &RPTracker,
-                                            SchedCandidate &Cand) {
+                                         const RegPressureTracker &RPTracker,
+                                         SchedCandidate &Cand) {
   ReadyQueue &Q = Zone.Available;
 
   DEBUG(Q.dump());