Skip to content

Commit 86ba37e

Browse files
committed
Clarify per-element width
1 parent 715ccab commit 86ba37e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3393,7 +3393,8 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
33933393
/// e.g., <16 x i8> @llvm.x86.avx512.mask.pmov.qb.512(<8 x i64>, ...)
33943394
///
33953395
/// This function will return a vector type with the same number of elements
3396-
/// as the input, but same width as the return value e.g., <8 x i8>.
3396+
/// as the input, but same per-element width as the return value e.g.,
3397+
/// <8 x i8>.
33973398
FixedVectorType *shrinkVectorShadowType(Value *Src, IntrinsicInst &I) {
33983399
assert(isa<FixedVectorType>(getShadowTy(&I)));
33993400
// The return type might have more elements than the input.

0 commit comments

Comments
 (0)