Skip to content

Commit 715ccab

Browse files
committed
Rename to shrinkVectorShadowType
1 parent d985b19 commit 715ccab

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
@@ -3394,7 +3394,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
33943394
///
33953395
/// This function will return a vector type with the same number of elements
33963396
/// as the input, but same width as the return value e.g., <8 x i8>.
3397-
FixedVectorType *shrinkVectorShadow(Value *Src, IntrinsicInst &I) {
3397+
FixedVectorType *shrinkVectorShadowType(Value *Src, IntrinsicInst &I) {
33983398
assert(isa<FixedVectorType>(getShadowTy(&I)));
33993399
// The return type might have more elements than the input.
34003400
// Temporarily shrink the return type's number of elements.
@@ -3471,7 +3471,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
34713471

34723472
// The return type might have more elements than the input.
34733473
// Temporarily shrink the return type's number of elements.
3474-
VectorType *ShadowType = shrinkVectorShadow(Src, I);
3474+
VectorType *ShadowType = shrinkVectorShadowType(Src, I);
34753475

34763476
IRBuilder<> IRB(&I);
34773477
Value *S0 = getShadow(&I, 0);

0 commit comments

Comments
 (0)