This is an archive of the discontinued LLVM Phabricator instance.

[ARM] [FIX] Add missing f16 vector operations lowering
ClosedPublic

Authored by dnsampaio on Apr 5 2019, 8:34 AM.

Details

Summary

Add missing <8xhalf> shufflevectors pattern, when using concat_vector dag node.
As well, allows <8xhalf> and <4xhalf> vldup1 operations.

These instructions are required for v8.2a fp16 lowering of vmul_n_f16, vmulq_n_f16 and vmulq_lane_f16 intrinsics.

Diff Detail

Repository
rL LLVM

Event Timeline

dnsampaio created this revision.Apr 5 2019, 8:34 AM

Do we not have some existing file we've been using for fp16 tests?

Code changes look fine.

dnsampaio updated this revision to Diff 194112.Apr 8 2019, 3:27 AM

Moved tests to existing vector test file.

dnsampaio updated this revision to Diff 194114.Apr 8 2019, 3:29 AM
This revision is now accepted and ready to land.Apr 9 2019, 12:42 PM
This revision was automatically updated to reflect the committed changes.