[llvm] b0ae20d - [ExpandMemCmp][NFC] Fix typo in comment.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 02:07:55 PST 2020
Author: Clement Courbet
Date: 2020-03-03T11:07:13+01:00
New Revision: b0ae20d92e48348e7e2c796f990126c8ea1c0ba5
URL: https://github.com/llvm/llvm-project/commit/b0ae20d92e48348e7e2c796f990126c8ea1c0ba5
DIFF: https://github.com/llvm/llvm-project/commit/b0ae20d92e48348e7e2c796f990126c8ea1c0ba5.diff
LOG: [ExpandMemCmp][NFC] Fix typo in comment.
Added:
Modified:
llvm/lib/CodeGen/ExpandMemCmp.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/ExpandMemCmp.cpp b/llvm/lib/CodeGen/ExpandMemCmp.cpp
index a1adf4ef9820..d0dd538f1f52 100644
--- a/llvm/lib/CodeGen/ExpandMemCmp.cpp
+++ b/llvm/lib/CodeGen/ExpandMemCmp.cpp
@@ -76,7 +76,7 @@ class MemCmpExpansion {
IRBuilder<> Builder;
// Represents the decomposition in blocks of the expansion. For example,
// comparing 33 bytes on X86+sse can be done with 2x16-byte loads and
- // 1x1-byte load, which would be represented as [{16, 0}, {16, 16}, {32, 1}.
+ // 1x1-byte load, which would be represented as [{16, 0}, {16, 16}, {1, 32}.
struct LoadEntry {
LoadEntry(unsigned LoadSize, uint64_t Offset)
: LoadSize(LoadSize), Offset(Offset) {
More information about the llvm-commits
mailing list