mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
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:
@@ -179,7 +179,7 @@ public:
|
|||||||
///
|
///
|
||||||
const Type *getIntPtrType() const;
|
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.
|
/// specified indices. This is used to implement getelementptr.
|
||||||
///
|
///
|
||||||
uint64_t getIndexedOffset(const Type *Ty,
|
uint64_t getIndexedOffset(const Type *Ty,
|
||||||
|
@@ -634,7 +634,7 @@ bool bu_ls_rr_sort::operator()(const SUnit *left, const SUnit *right) const {
|
|||||||
if (LPriority > RPriority)
|
if (LPriority > RPriority)
|
||||||
return true;
|
return true;
|
||||||
else if (LPriority == RPriority) {
|
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.
|
// e.g.
|
||||||
// t1 = op t2, c1
|
// t1 = op t2, c1
|
||||||
// t3 = op t4, c2
|
// t3 = op t4, c2
|
||||||
|
Reference in New Issue
Block a user