This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add vector support for fpexp and fptrunc.
ClosedPublic

Authored by timshen on Feb 25 2020, 3:51 PM.

Diff Detail

Event Timeline

timshen created this revision.Feb 25 2020, 3:51 PM
bondhugula requested changes to this revision.Feb 25 2020, 10:42 PM
bondhugula added a subscriber: bondhugula.
bondhugula added inline comments.
mlir/test/IR/invalid-ops.mlir
565–605

I think the invalid test cases here aren't cover elt type width truncation being used with fpext and vice versa while using the same shape for src and dest.

This revision now requires changes to proceed.Feb 25 2020, 10:42 PM
timshen updated this revision to Diff 246877.Feb 26 2020, 8:33 PM

Add more tests.

timshen marked 2 inline comments as done.Feb 26 2020, 8:37 PM
timshen added inline comments.
mlir/test/IR/invalid-ops.mlir
565–605

Added more tests.

timshen marked an inline comment as done.Feb 26 2020, 8:37 PM
ftynse accepted this revision.Feb 27 2020, 6:32 AM

I'm going to commit this, since the comment is addressed.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 28 2020, 12:56 PM
This revision was automatically updated to reflect the committed changes.