summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-07-01 16:23:44 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-07-01 16:23:44 +0000
commit6d590d538fc60ac2f73c8d73015576e3fab168a6 (patch)
treee7285165d56dfad297f5a0bb968b6d9b75a8fbae /llvm/lib/CodeGen
parentf2c4baf01b3ed3d8e85a4dabbd14c358bda99576 (diff)
downloadbcm5719-llvm-6d590d538fc60ac2f73c8d73015576e3fab168a6.tar.gz
bcm5719-llvm-6d590d538fc60ac2f73c8d73015576e3fab168a6.zip
[PeepholeOptimzer] Fix a typo in a comment.
Spotted by Amara Emerson. llvm-svn: 212106
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index 6f37518293f..716cb1f46f1 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -844,7 +844,7 @@ bool ValueTracker::getNextSourceFromRegSequence(unsigned &SrcIdx,
// Def.sub1 =
// is a valid SSA representation for Def.sub0 and Def.sub1, but not for
// Def. Thus, it must not be generated.
- // However, some code could theoritically generates a single
+ // However, some code could theoretically generates a single
// Def.sub0 (i.e, not defining the other subregs) and we would
// have this case.
// If we can ascertain (or force) that this never happens, we could
OpenPOWER on IntegriCloud