This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add folder for complex.ReOp and complex.ImOp.
ClosedPublic

Authored by akuegel on May 17 2021, 5:06 AM.

Details

Summary

Now that complex constants are supported, we can also fold.
Second attempt, this time with handling for the case that there is no ArrayAttr.

Diff Detail

Event Timeline

akuegel created this revision.May 17 2021, 5:06 AM
akuegel requested review of this revision.May 17 2021, 5:06 AM
pifon2a accepted this revision.May 18 2021, 1:27 AM
This revision is now accepted and ready to land.May 18 2021, 1:27 AM
akuegel updated this revision to Diff 346075.May 18 2021, 1:41 AM

Add assert and check size of array attr.

This revision was automatically updated to reflect the committed changes.