Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

[mlir] Add better support for f80 and f128

Authored by clementval on Jan 14 2021, 6:11 PM.

Diff Detail

Event Timeline

clementval created this revision.Jan 14 2021, 6:11 PM
clementval requested review of this revision.Jan 14 2021, 6:11 PM
rriddle accepted this revision.Jan 14 2021, 6:18 PM

Did a pass through, and looks good to me.


Can you add a usage in IR/parser.mlir now that these are builtin types? All of these checks here look like they should go away now that the types have been replaced.

This revision is now accepted and ready to land.Jan 14 2021, 6:18 PM

Add usage in IR/parser.mlir


Should we also remove the checks for f16, bf16, f32, f64?

rriddle added inline comments.Jan 14 2021, 6:46 PM

Yeah, I don't think any of those are useful anymore.

Remove useless checks now that types have been replaced

clementval marked 2 inline comments as done.Jan 14 2021, 7:02 PM
clementval added inline comments.

Ok. Thanks for the quick review. I just removed the checks.

ftynse accepted this revision.Jan 15 2021, 12:27 AM
ftynse added inline comments.

Please add f80 and f128 here

clementval marked an inline comment as done.

Add f80 and f128 to

clementval marked an inline comment as done.Jan 15 2021, 5:46 AM
This revision was automatically updated to reflect the committed changes.