This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Unit test for zext lowering for different types of vectors
ClosedPublic

Authored by nilanjana_basu on Nov 14 2022, 3:32 PM.

Details

Summary

These are unit tests for code generated for zext lowering of vectors.
There are tests for different types of vectors, as well as cases where multiple 'zext' instructions of same type occur back-to-back.
This will help in comparing changes in zext lowering in https://reviews.llvm.org/D136722.

Diff Detail

Event Timeline

nilanjana_basu created this revision.Nov 14 2022, 3:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 3:32 PM
nilanjana_basu published this revision for review.Nov 21 2022, 4:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 4:16 PM
fhahn accepted this revision.Nov 22 2022, 3:43 AM

LGTM, thanks! Please make sure that you also move any additional tests mentioned in D136722 to this patch.

This revision is now accepted and ready to land.Nov 22 2022, 3:43 AM

Added tests for multiple back-to-back zext instructions for vectors & rebased on recent commit

Added two new test cases for destination vectors of arbitrary lengths

Added an extra unit test for 'zext <8xi8> to <8xi33>'. Added GISel path testing.

fhahn accepted this revision.Dec 8 2022, 10:43 AM

LGTM, thanks!

This revision was landed with ongoing or failed builds.Dec 9 2022, 12:51 AM
This revision was automatically updated to reflect the committed changes.