summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-10-30 01:11:52 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-10-30 01:11:52 +0000
commit1ced5f4f30f8307bd3be52a1132492e73a9c5d22 (patch)
tree3941abea9896757b1194573dec94ebbf12f30f0f
parent901a95f7292852873e605881351d98412012c68f (diff)
downloadbcm5719-llvm-1ced5f4f30f8307bd3be52a1132492e73a9c5d22.tar.gz
bcm5719-llvm-1ced5f4f30f8307bd3be52a1132492e73a9c5d22.zip
Fix typos in comment
llvm-svn: 345554
-rw-r--r--llvm/include/llvm/CodeGen/LiveIntervals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervals.h b/llvm/include/llvm/CodeGen/LiveIntervals.h
index 291a07a712c..16ab1dc475c 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervals.h
+++ b/llvm/include/llvm/CodeGen/LiveIntervals.h
@@ -198,10 +198,10 @@ class VirtRegMap;
void pruneValue(LiveRange &LR, SlotIndex Kill,
SmallVectorImpl<SlotIndex> *EndPoints);
- /// This function should not be used. Its intend is to tell you that
- /// you are doing something wrong if you call pruveValue directly on a
+ /// This function should not be used. Its intent is to tell you that you are
+ /// doing something wrong if you call pruneValue directly on a
/// LiveInterval. Indeed, you are supposed to call pruneValue on the main
- /// LiveRange and all the LiveRange of the subranges if any.
+ /// LiveRange and all the LiveRanges of the subranges if any.
LLVM_ATTRIBUTE_UNUSED void pruneValue(LiveInterval &, SlotIndex,
SmallVectorImpl<SlotIndex> *) {
llvm_unreachable(
OpenPOWER on IntegriCloud