Fix typos in comments and debug output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jay Foad
2019-07-04 15:04:29 +00:00
parent 7c1a6dbf10
commit 16da25febf
+3 -3
View 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);