This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Add MVT::bf16 to getConstantFP()
ClosedPublic

Authored by asmith on Jun 12 2020, 5:52 PM.

Details

Summary

This was probably overlooked in recent bfloat patches.
Needed to handle bf16 constants in SelectionDAG.

ConstantFP:bf16<APFloat(0)>

Diff Detail

Event Timeline

asmith created this revision.Jun 12 2020, 5:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2020, 5:52 PM
stuij accepted this revision.Jun 15 2020, 5:59 PM

LGTM. Thanks :)

This revision is now accepted and ready to land.Jun 15 2020, 5:59 PM
This revision was automatically updated to reflect the committed changes.