This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Improve FP16 vector convert from short instructions
ClosedPublic

Authored by az on Feb 22 2019, 4:37 PM.

Details

Reviewers
SjoerdMeijer
Summary

We currently generate inefficient code for vector convert from short int to half instructions: promote to int first, then convert, and then demote to half. With this patch and when the fp16 feature is on, we generate straight fp16 vector conversion.

Diff Detail

Event Timeline

az created this revision.Feb 22 2019, 4:37 PM
This revision is now accepted and ready to land.Feb 25 2019, 1:06 AM