[llvm] r321098 - [SeparateConstOffsetFromGEP] Fix a typo. NFC.

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 10:49:21 PST 2017


Author: haicheng
Date: Tue Dec 19 10:49:21 2017
New Revision: 321098

URL: http://llvm.org/viewvc/llvm-project?rev=321098&view=rev
Log:
[SeparateConstOffsetFromGEP] Fix a typo. NFC.

do CSE for to => do CSE to

Modified:
    llvm/trunk/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp?rev=321098&r1=321097&r2=321098&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp Tue Dec 19 10:49:21 2017
@@ -97,7 +97,7 @@
 //    load %p2
 //    ...
 //
-// We can not do CSE for to the common part related to index "i64 %i". Lowering
+// We can not do CSE to the common part related to index "i64 %i". Lowering
 // GEPs can achieve such goals.
 // If the target does not use alias analysis in codegen, this pass will
 // lower a GEP with multiple indices into arithmetic operations:




More information about the llvm-commits mailing list