This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add neon FP16 scalar_to_vector patterns.
ClosedPublic

Authored by dmgreen on Jan 26 2021, 1:21 AM.

Details

Summary

This adds some simple fp16 scalar_to_vector patterns, preventing a selection failure if this came up.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 26 2021, 1:21 AM
dmgreen requested review of this revision.Jan 26 2021, 1:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2021, 1:21 AM
SjoerdMeijer added inline comments.Jan 26 2021, 5:18 AM
llvm/lib/Target/ARM/ARMInstrNEON.td
6484–6485

Unrelated to this patch, but while we are at it, I spotted this commented out def. Shall we get rid of this?

dmgreen updated this revision to Diff 319334.Jan 26 2021, 10:07 AM

Sure. Removed commented out code.

This revision is now accepted and ready to land.Jan 26 2021, 11:21 AM
This revision was automatically updated to reflect the committed changes.