This is an archive of the discontinued LLVM Phabricator instance.

[mlir][math] Promote (b)f16 to f32 when lowering to libm calls
ClosedPublic

Authored by bkramer on May 6 2022, 6:45 AM.

Details

Summary

libm doesn't have overloads for the small types, so promote them to a
bigger type and use the f32 function.

Diff Detail

Event Timeline

bkramer created this revision.May 6 2022, 6:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2022, 6:45 AM
bkramer requested review of this revision.May 6 2022, 6:45 AM
tpopp accepted this revision.May 9 2022, 1:19 AM
This revision is now accepted and ready to land.May 9 2022, 1:19 AM