Skip to content

Commit 23e3b65

Browse files
committed
Clarify little-endian (and ctlz)
1 parent 3656c9e commit 23e3b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,8 +3282,8 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
32823282
// and a 1. If the input is all zero, it is fully initialized iff
32833283
// !is_zero_poison.
32843284
//
3285-
// e.g., if 0/1 are initialized bits with concrete value 0/1, and ? is an
3286-
// uninitialized bit:
3285+
// e.g., for ctlz, with little-endian, if 0/1 are initialized bits with
3286+
// concrete value 0/1, and ? is an uninitialized bit:
32873287
// - 0001 0??? is fully initialized
32883288
// - 000? ???? is fully uninitialized (*)
32893289
// - ???? ???? is fully uninitialized

0 commit comments

Comments
 (0)