summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-07-18 06:04:43 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-07-18 06:04:43 +0000
commitcd83d459bc4b2fa01425d652fc4259b1e3aac788 (patch)
treed30f2b802725d00f150baf3bc722cbc47da74e15 /llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
parent22e939a15b6d585da0f422ba82ff9ba155779208 (diff)
downloadbcm5719-llvm-cd83d459bc4b2fa01425d652fc4259b1e3aac788.tar.gz
bcm5719-llvm-cd83d459bc4b2fa01425d652fc4259b1e3aac788.zip
[NFC] fix trivial typos in comments
llvm-svn: 337351
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCExpandISEL.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCExpandISEL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp b/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
index a8b6b611620..fe41e1b36a5 100644
--- a/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
+++ b/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
@@ -285,7 +285,7 @@ void PPCExpandISEL::handleSpecialCases(BlockISELList &BIL,
// Special case 1, all registers used by ISEL are the same one.
if (!IsADDIInstRequired && !IsORIInstRequired) {
- LLVM_DEBUG(dbgs() << "Remove redudant ISEL instruction.");
+ LLVM_DEBUG(dbgs() << "Remove redundant ISEL instruction.");
// FIXME: if the CR field used has no other uses, we could eliminate the
// instruction that defines it. This would have to be done manually
// since this pass runs too late to run DCE after it.
@@ -305,7 +305,7 @@ void PPCExpandISEL::handleSpecialCases(BlockISELList &BIL,
// thereby preventing this ISEL from being folded.
if (useSameRegister(TrueValue, FalseValue) && (BIL.size() == 1)) {
LLVM_DEBUG(
- dbgs() << "Fold the ISEL instruction to an unconditonal copy.");
+ dbgs() << "Fold the ISEL instruction to an unconditional copy.");
NumFolded++;
// Note: we're using both the TrueValue and FalseValue operands so as
// not to lose the kill flag if it is set on either of them.
OpenPOWER on IntegriCloud