]> granicus.if.org Git - llvm/commitdiff
Fix typos in comments and debug output.
authorJay Foad <jay.foad@gmail.com>
Thu, 4 Jul 2019 15:04:29 +0000 (15:04 +0000)
committerJay Foad <jay.foad@gmail.com>
Thu, 4 Jul 2019 15:04:29 +0000 (15:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365146 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AMDGPU/GCNDPPCombine.cpp

index fb1d71779cb3ad39b70dd9bc99bdab22cc9b1c25..536dc54a65c593a4bf3ac40d4ab22c9a0904478d 100644 (file)
@@ -32,9 +32,9 @@
 // -> $combined_old = src1,
 //    $combined_bound_ctrl = DPP_BOUND_OFF
 //
-// Othervise cancel.
+// Otherwise cancel.
 //
-// The mov_dpp instruction should recide in the same BB as all it's uses
+// The mov_dpp instruction should reside in the same BB as all its uses
 //===----------------------------------------------------------------------===//
 
 #include "AMDGPU.h"
@@ -300,7 +300,7 @@ MachineInstr *GCNDPPCombine::createDPPInst(MachineInstr &OrigMI,
       return nullptr;
     }
     if (!isIdentityValue(OrigMI.getOpcode(), OldOpndValue)) {
-      LLVM_DEBUG(dbgs() << "  failed: old immediate ins't an identity\n");
+      LLVM_DEBUG(dbgs() << "  failed: old immediate isn't an identity\n");
       return nullptr;
     }
     CombOldVGPR = getRegSubRegPair(*Src1);