summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2017-12-19 18:49:21 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2017-12-19 18:49:21 +0000
commit5b106ef92e2b7c6b31c92dc02dce6998005e7233 (patch)
tree95a38517381c445a6f7a527e5a2c5709370a9533 /llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
parentf738bccd761c9339833e3993dee96aa0a1ba6d46 (diff)
downloadbcm5719-llvm-5b106ef92e2b7c6b31c92dc02dce6998005e7233.tar.gz
bcm5719-llvm-5b106ef92e2b7c6b31c92dc02dce6998005e7233.zip
[SeparateConstOffsetFromGEP] Fix a typo. NFC.
do CSE for to => do CSE to llvm-svn: 321098
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp b/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
index 209821ff21d..8fa9ffb6d01 100644
--- a/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+++ b/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
@@ -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:
OpenPOWER on IntegriCloud