This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Temporarily circumvent TensorConstant bufferize bug
ClosedPublic

Authored by nicolasvasilache on Oct 12 2020, 1:22 PM.

Details

Summary

The TensorConstantOp bufferize conversion pattern has a bug that
makes it incorrect in the case of vectors whose alignment is not
the natural alignment. Circumvent it temporarily by using a power of 2.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Oct 12 2020, 1:22 PM
aartbik accepted this revision.Oct 12 2020, 1:23 PM
This revision is now accepted and ready to land.Oct 12 2020, 1:23 PM
This revision was landed with ongoing or failed builds.Oct 12 2020, 1:25 PM
This revision was automatically updated to reflect the committed changes.