[llvm] r365146 - Fix typos in comments and debug output.

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 4 08:04:29 PDT 2019


Author: foad
Date: Thu Jul  4 08:04:29 2019
New Revision: 365146

URL: http://llvm.org/viewvc/llvm-project?rev=365146&view=rev
Log:
Fix typos in comments and debug output.

Modified:
    llvm/trunk/lib/Target/AMDGPU/GCNDPPCombine.cpp

Modified: llvm/trunk/lib/Target/AMDGPU/GCNDPPCombine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNDPPCombine.cpp?rev=365146&r1=365145&r2=365146&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNDPPCombine.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNDPPCombine.cpp Thu Jul  4 08:04:29 2019
@@ -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::createDPPIn
       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);




More information about the llvm-commits mailing list