This is an archive of the discontinued LLVM Phabricator instance.

[Flang] Add a missing case for bfloat
ClosedPublic

Authored by kiranchandramohan on Apr 28 2023, 10:42 AM.

Details

Summary

A case was missed for the bfloat type in the getRealType function
in FIRBuilder. This can cause a crash in some situations like in
the provided test. The patch adds the missing case.

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
kiranchandramohan requested review of this revision.Apr 28 2023, 10:42 AM
vzakhari accepted this revision.Apr 28 2023, 10:45 AM

Thank you!

This revision is now accepted and ready to land.Apr 28 2023, 10:45 AM
This revision was automatically updated to reflect the committed changes.