summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2018-06-26 03:03:41 +0000
committerDan Gohman <dan433584@gmail.com>2018-06-26 03:03:41 +0000
commitfd2f7aeb12fb0d6dce9c0be36919fa9a90eebcf5 (patch)
tree44dd55cf889a055519557bdab9b029776c096837 /llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
parentf99bc0b2f663bfc4702c9c0248c65d3a9502ce3f (diff)
downloadbcm5719-llvm-fd2f7aeb12fb0d6dce9c0be36919fa9a90eebcf5.tar.gz
bcm5719-llvm-fd2f7aeb12fb0d6dce9c0be36919fa9a90eebcf5.zip
[WebAssembly] Fix a typo in a comment.
llvm-svn: 335574
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
index 1c65478fe14..04ac22a589e 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
@@ -12,7 +12,7 @@
//
/// LiveIntervals normally runs before register allocation when the code is
/// only recently lowered out of SSA form, so it's uncommon for registers to
-/// have multiple defs, and then they do, the defs are usually closely related.
+/// have multiple defs, and when they do, the defs are usually closely related.
/// Later, after coalescing, tail duplication, and other optimizations, it's
/// more common to see registers with multiple unrelated defs. This pass
/// updates LiveIntervals to distribute the value numbers across separate
OpenPOWER on IntegriCloud