///
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,
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