This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Implement selection of <2 x float> vector splat.
ClosedPublic

Authored by aemerson on Jan 8 2020, 3:28 PM.

Details

Summary

[AArch64][GlobalISel] Implement selection of <2 x float> vector splat.

Also requires making G_IMPLICIT_DEF of v2s32 legal.

Diff Detail

Event Timeline

aemerson created this revision.Jan 8 2020, 3:28 PM
paquette added inline comments.Jan 8 2020, 4:35 PM
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
3718

Would it make sense to assert that there are 4 elements?

3731

Same here?

aemerson updated this revision to Diff 237153.Jan 9 2020, 12:10 PM

Add asserts.

This revision is now accepted and ready to land.Jan 9 2020, 12:17 PM
This revision was automatically updated to reflect the committed changes.