Skip to content

Commit 2cada4e

Browse files
committed
Note that Offset2 will never be less than Offset1
1 parent 5a1d0a9 commit 2cada4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/include/llvm/CodeGen/TargetInstrInfo.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,8 +1497,10 @@ class TargetInstrInfo : public MCInstrInfo {
14971497
///
14981498
/// \p BaseOps1 and \p BaseOps2 are memory operands of two memory operations.
14991499
/// \p Offset1 and \p Offset2 are the byte offsets for the memory
1500-
/// operations, while \p OffsetIsScalable1 and \p OffsetIsScalable2 indicate
1501-
/// if the offset is scaled gby a runtime quantity.
1500+
/// operations, and \p Offset2 is guaranteed to be greater than or equal to
1501+
/// Offset1.
1502+
/// \p OffsetIsScalable1 and \p OffsetIsScalable2 indicate if the offset is
1503+
/// scaled by a runtime quantity.
15021504
/// \p ClusterSize is the number of operations in the resulting load/store
15031505
/// cluster if this hook returns true.
15041506
/// \p NumBytes is the number of bytes that will be loaded from all the

0 commit comments

Comments
 (0)