]> granicus.if.org Git - llvm/commitdiff
Fix typos
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 17 Jul 2014 17:50:22 +0000 (17:50 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 17 Jul 2014 17:50:22 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213285 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetSelectionDAG.td
lib/Target/R600/SIInsertWaits.cpp

index 216416baa93e8fa4cfd19ade2fd6ba192d4be570..2d822de4ad695fb905d0a91167dde44e5f9c8130 100644 (file)
@@ -205,7 +205,7 @@ def SDTPrefetch : SDTypeProfile<0, 4, [     // prefetch
   SDTCisPtrTy<0>, SDTCisSameAs<1, 2>, SDTCisSameAs<1, 3>, SDTCisInt<1>
 ]>;
 
-def SDTMemBarrier : SDTypeProfile<0, 5, [   // memory barier
+def SDTMemBarrier : SDTypeProfile<0, 5, [   // memory barrier
   SDTCisSameAs<0,1>,  SDTCisSameAs<0,2>,  SDTCisSameAs<0,3>, SDTCisSameAs<0,4>,
   SDTCisInt<0>
 ]>;
index 173332674ff198005c65cf06414604b3af392f0b..7dfc31bdfa01cf41744d86d8ca429099e0e78ca8 100644 (file)
@@ -273,17 +273,17 @@ bool SIInsertWaits::insertWait(MachineBasicBlock &MBB,
       continue;
 
     NeedWait = true;
-    
+
     if (Ordered[i]) {
       unsigned Value = LastIssued.Array[i] - Required.Array[i];
 
-      // adjust the value to the real hardware posibilities
+      // Adjust the value to the real hardware possibilities.
       Counts.Array[i] = std::min(Value, WaitCounts.Array[i]);
 
     } else
       Counts.Array[i] = 0;
 
-    // Remember on what we have waited on
+    // Remember on what we have waited on.
     WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i];
   }