This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix scalable type translation in splat element attr
ClosedPublic

Authored by jsetoain on Jan 12 2022, 9:13 AM.

Details

Summary

LLVM Dialect Constant Op translations assume that if the attribute is a
vector, it's a fixed length one, generating an invalid translation for
constant scalable vector initializations.

Diff Detail

Event Timeline

jsetoain created this revision.Jan 12 2022, 9:13 AM
jsetoain requested review of this revision.Jan 12 2022, 9:13 AM
ftynse accepted this revision.Jan 12 2022, 9:22 AM
This revision is now accepted and ready to land.Jan 12 2022, 9:22 AM
jsetoain updated this revision to Diff 399355.Jan 12 2022, 9:22 AM

Add missing test