[PeepholeOptimzer] Fix a typo in a comment.
authorQuentin Colombet <qcolombet@apple.com>
Tue, 1 Jul 2014 16:23:44 +0000 (16:23 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 1 Jul 2014 16:23:44 +0000 (16:23 +0000)
Spotted by Amara Emerson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212106 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PeepholeOptimizer.cpp

index 6f37518293fcc81212225405c1bcf1f280b90eb1..716cb1f46f152beeae3a25fbc0d4c3259ef7fa1b 100644 (file)
@@ -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