summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2019-07-04 15:04:29 +0000
committerJay Foad <jay.foad@gmail.com>2019-07-04 15:04:29 +0000
commit0cd50b2a95d32924a164e8a79fff313f037e002d (patch)
tree2a5e502c155cbc8f58b25ce35c0ec0a8dbf99b0e /llvm/lib
parente602f70de19bef2264e3e3d170e24ee02fe1de87 (diff)
downloadbcm5719-llvm-0cd50b2a95d32924a164e8a79fff313f037e002d.tar.gz
bcm5719-llvm-0cd50b2a95d32924a164e8a79fff313f037e002d.zip
Fix typos in comments and debug output.
llvm-svn: 365146
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp b/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
index fb1d71779cb..536dc54a65c 100644
--- a/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
+++ b/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
@@ -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);
OpenPOWER on IntegriCloud