This is an archive of the discontinued LLVM Phabricator instance.

Test forward references in IntrinsicEmitter on Neon LD(2|3|4)
ClosedPublic

Authored by sdesmalen on Jun 12 2019, 2:25 AM.

Details

Summary

This patch tests the forward-referencing added in D62995 by changing
some existing intrinsics to use forward referencing of overloadable
parameters, rather than backward referencing.

This patch changes the TableGen definition/implementation of
llvm.aarch64.neon.ld2lane and llvm.aarch64.neon.ld2lane intrinsics
(and similar for ld3 and ld4). This change is intended to be
non-functional, since the behaviour of the intrinsics is
expected to be the same.

Diff Detail

Event Timeline

sdesmalen created this revision.Jun 12 2019, 2:25 AM

is it worth committing the test file with current (trunk) output so this patch shows the diff?

is it worth committing the test file with current (trunk) output so this patch shows the diff?

The output is expected not to change from this patch. I ran this test with current trunk and it passes, which confirms the behaviour doesn't change with this patch applied.
Not sure if there is still any benefit in committing this test separately then?

RKSimon accepted this revision.Jun 17 2019, 4:29 AM

is it worth committing the test file with current (trunk) output so this patch shows the diff?

The output is expected not to change from this patch. I ran this test with current trunk and it passes, which confirms the behaviour doesn't change with this patch applied.
Not sure if there is still any benefit in committing this test separately then?

Agreed - lets keep it in a single commit - thanks for checking. LGTM

This revision is now accepted and ready to land.Jun 17 2019, 4:29 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2019, 4:58 AM

Agreed - lets keep it in a single commit - thanks for checking. LGTM

Thanks @RKSimon!