This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVM] Make the nested type restriction on complex constants less aggressive
ClosedPublic

Authored by bkramer on May 11 2022, 6:16 AM.

Details

Summary

Complex nested in other types is perfectly fine, just nested structs
aren't supported. Instead of checking whether there's nesting just check
whether the struct we're dealing with is a complex number.

Diff Detail

Event Timeline

bkramer created this revision.May 11 2022, 6:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 6:16 AM
bkramer requested review of this revision.May 11 2022, 6:16 AM
akuegel accepted this revision.May 11 2022, 6:23 AM
This revision is now accepted and ready to land.May 11 2022, 6:23 AM