summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/GVN.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2014-08-05 23:27:34 +0000
committerJF Bastien <jfb@google.com>2014-08-05 23:27:34 +0000
commitac8b66b32c958c69ec1c691db0b563995f8ed8a6 (patch)
tree886d9bfe1c3f4878296526a354005fd5e4a2cd6f /llvm/lib/Transforms/Scalar/GVN.cpp
parente1a26a624d3612d98af13c47ee43f100bd458199 (diff)
downloadbcm5719-llvm-ac8b66b32c958c69ec1c691db0b563995f8ed8a6.tar.gz
bcm5719-llvm-ac8b66b32c958c69ec1c691db0b563995f8ed8a6.zip
Fix typos in comments and doc
Committing http://reviews.llvm.org/D4798 for Robin Morisset (morisset@google.com) llvm-svn: 214934
Diffstat (limited to 'llvm/lib/Transforms/Scalar/GVN.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/GVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp
index 7135874003d..07be4955cb4 100644
--- a/llvm/lib/Transforms/Scalar/GVN.cpp
+++ b/llvm/lib/Transforms/Scalar/GVN.cpp
@@ -2817,7 +2817,7 @@ bool GVN::processFoldableCondBr(BranchInst *BI) {
return true;
}
-// performPRE() will trigger assert if it come across an instruciton without
+// performPRE() will trigger assert if it comes across an instruction without
// associated val-num. As it normally has far more live instructions than dead
// instructions, it makes more sense just to "fabricate" a val-number for the
// dead code than checking if instruction involved is dead or not.
OpenPOWER on IntegriCloud