[llvm] r301517 - [Metadata] Fix typos in comments. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 22:48:29 PDT 2017
Author: ctopper
Date: Thu Apr 27 00:48:29 2017
New Revision: 301517
URL: http://llvm.org/viewvc/llvm-project?rev=301517&view=rev
Log:
[Metadata] Fix typos in comments. NFC
Modified:
llvm/trunk/lib/IR/Metadata.cpp
Modified: llvm/trunk/lib/IR/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Metadata.cpp?rev=301517&r1=301516&r2=301517&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Metadata.cpp (original)
+++ llvm/trunk/lib/IR/Metadata.cpp Thu Apr 27 00:48:29 2017
@@ -967,7 +967,7 @@ static void addRange(SmallVectorImpl<Con
MDNode *MDNode::getMostGenericRange(MDNode *A, MDNode *B) {
// Given two ranges, we want to compute the union of the ranges. This
- // is slightly complitade by having to combine the intervals and merge
+ // is slightly complicated by having to combine the intervals and merge
// the ones that overlap.
if (!A || !B)
@@ -976,7 +976,7 @@ MDNode *MDNode::getMostGenericRange(MDNo
if (A == B)
return A;
- // First, walk both lists in older of the lower boundary of each interval.
+ // First, walk both lists in order of the lower boundary of each interval.
// At each step, try to merge the new interval to the last one we adedd.
SmallVector<ConstantInt *, 4> EndPoints;
int AI = 0;
More information about the llvm-commits
mailing list