Fix a typo in a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36485 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2007-04-26 19:40:56 +00:00
parent b7522c7a7c
commit edc1d15984
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ public:
///
const Type *getIntPtrType() const;
/// getIndexOffset - return the offset from the beginning of the type for the
/// getIndexedOffset - return the offset from the beginning of the type for the
/// specified indices. This is used to implement getelementptr.
///
uint64_t getIndexedOffset(const Type *Ty,

View File

@ -634,7 +634,7 @@ bool bu_ls_rr_sort::operator()(const SUnit *left, const SUnit *right) const {
if (LPriority > RPriority)
return true;
else if (LPriority == RPriority) {
// Try schedule def + use closer whne Sethi-Ullman numbers are the same.
// Try schedule def + use closer when Sethi-Ullman numbers are the same.
// e.g.
// t1 = op t2, c1
// t3 = op t4, c2