[llvm] r212106 - [PeepholeOptimzer] Fix a typo in a comment.

Quentin Colombet qcolombet at apple.com
Tue Jul 1 09:23:44 PDT 2014


Author: qcolombet
Date: Tue Jul  1 11:23:44 2014
New Revision: 212106

URL: http://llvm.org/viewvc/llvm-project?rev=212106&view=rev
Log:
[PeepholeOptimzer] Fix a typo in a comment.
Spotted by Amara Emerson.

Modified:
    llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp

Modified: llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp?rev=212106&r1=212105&r2=212106&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp Tue Jul  1 11:23:44 2014
@@ -844,7 +844,7 @@ bool ValueTracker::getNextSourceFromRegS
     // 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





More information about the llvm-commits mailing list