aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-07 00:16:14 -0700
committerKazu Hirata <kazu@google.com>2022-08-07 00:16:14 -0700
commita2d45017182a5b98a6a3c75de49e599d67c92fbb (patch)
treec12749f8b07f5c923b8f802330cc6bdae21cb69c /llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
parentaf2d2d775908734f2a71a70a24ad540760f2d88b (diff)
downloadllvm-a2d45017182a5b98a6a3c75de49e599d67c92fbb.zip
llvm-a2d45017182a5b98a6a3c75de49e599d67c92fbb.tar.gz
llvm-a2d45017182a5b98a6a3c75de49e599d67c92fbb.tar.bz2
[llvm] Fix comment typos (NFC)
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMIPeephole.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCMIPeephole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
index 67d91d2..c9d0645 100644
--- a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
@@ -1379,7 +1379,7 @@ bool PPCMIPeephole::eliminateRedundantCompare() {
bool IsPartiallyRedundant = (MBBtoMoveCmp != nullptr);
// We cannot optimize an unsupported compare opcode or
- // a mix of 32-bit and 64-bit comaprisons
+ // a mix of 32-bit and 64-bit comparisons
if (!isSupportedCmpOp(CMPI1->getOpcode()) ||
!isSupportedCmpOp(CMPI2->getOpcode()) ||
is64bitCmpOp(CMPI1->getOpcode()) != is64bitCmpOp(CMPI2->getOpcode()))