This is an archive of the discontinued LLVM Phabricator instance.

[mlir][affine] Support vectorization with the step size exceeding 2^32-1
Needs ReviewPublic

Authored by Lewuathe on Aug 14 2023, 1:43 AM.

Details

Summary

AffineFor step size is capable of storing 2^64-1 as it retains int64_t. But due to the conversion to lower bit-width type (unsinged), it fails to calculate the right step size after vectorization. New step size also should keep the same size as the original step size.

Diff Detail

Event Timeline

Lewuathe created this revision.Aug 14 2023, 1:43 AM
Herald added a project: Restricted Project. · View Herald Transcript
Lewuathe requested review of this revision.Aug 14 2023, 1:43 AM