Fix typos in comment

llvm-svn: 345554
This commit is contained in:
Matt Arsenault 2018-10-30 01:11:52 +00:00
parent 901a95f729
commit 1ced5f4f30
1 changed files with 3 additions and 3 deletions

View File

@ -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(