File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1980,14 +1980,9 @@ MemoryDepChecker::getDependenceDistanceStrideAndSize(
1980
1980
TypeSize AStoreSz = DL.getTypeStoreSize (ATy),
1981
1981
BStoreSz = DL.getTypeStoreSize (BTy);
1982
1982
1983
- // Fail early if either store size is scalable.
1984
- if (AStoreSz.isScalable () || BStoreSz.isScalable ())
1985
- return MemoryDepChecker::Dependence::Unknown;
1986
-
1987
1983
// If store sizes are not the same, set TypeByteSize to zero, so we can check
1988
1984
// it in the caller.
1989
- uint64_t ASz = alignTo (AStoreSz, DL.getABITypeAlign (ATy)),
1990
- BSz = alignTo (BStoreSz, DL.getABITypeAlign (BTy)),
1985
+ uint64_t ASz = DL.getTypeAllocSize (ATy), BSz = DL.getTypeAllocSize (BTy),
1991
1986
TypeByteSize = AStoreSz == BStoreSz ? BSz : 0 ;
1992
1987
1993
1988
uint64_t StrideAScaled = std::abs (StrideAPtrInt) * ASz;
You can’t perform that action at this time.
0 commit comments