[llvm] r345554 - Fix typos in comment
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 18:11:52 PDT 2018
Author: arsenm
Date: Mon Oct 29 18:11:52 2018
New Revision: 345554
URL: http://llvm.org/viewvc/llvm-project?rev=345554&view=rev
Log:
Fix typos in comment
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervals.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervals.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervals.h?rev=345554&r1=345553&r2=345554&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervals.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervals.h Mon Oct 29 18:11:52 2018
@@ -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(
More information about the llvm-commits
mailing list