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(
19801980 TypeSize AStoreSz = DL.getTypeStoreSize (ATy),
19811981 BStoreSz = DL.getTypeStoreSize (BTy);
19821982
1983- // Fail early if either store size is scalable.
1984- if (AStoreSz.isScalable () || BStoreSz.isScalable ())
1985- return MemoryDepChecker::Dependence::Unknown;
1986-
19871983 // If store sizes are not the same, set TypeByteSize to zero, so we can check
19881984 // 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),
19911986 TypeByteSize = AStoreSz == BStoreSz ? BSz : 0 ;
19921987
19931988 uint64_t StrideAScaled = std::abs (StrideAPtrInt) * ASz;
You can’t perform that action at this time.
0 commit comments