Skip to content

Commit 01510ed

Browse files
committed
Update comments
1 parent 3c2410e commit 01510ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/SROA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2992,7 +2992,7 @@ class AllocaSliceRewriter : public InstVisitor<AllocaSliceRewriter, bool> {
29922992
// Do not handle the case if
29932993
// 1. The store does not meet the conditions in the helper function
29942994
// 2. The store is volatile
2995-
// 3. The store value type size is less than the allocated element
2995+
// 3. The total store size is not a multiple of the allocated element
29962996
// type size
29972997
if (!IsTypeValidForTreeStructuredMerge(
29982998
SI->getValueOperand()->getType()) ||

0 commit comments

Comments
 (0)