Test forward references in IntrinsicEmitter on Neon LD(2|3|4)
authorSander de Smalen <sander.desmalen@arm.com>
Mon, 17 Jun 2019 12:01:53 +0000 (12:01 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Mon, 17 Jun 2019 12:01:53 +0000 (12:01 +0000)
commit74ac20158a068633e0a84f9f95e7242ceab6b61d
tree4c864a0d86d7b13b22d7c305d7dd787c832e1005
parentd5323f6a707e376aab20ebe7864a78fc38fcedaa
Test forward references in IntrinsicEmitter on Neon LD(2|3|4)

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.

Reviewers: arsenm, dmgreen, RKSimon, greened, rnk

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D63189

llvm-svn: 363546
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/test/Verifier/intrinsic-arg-overloading-struct-ret.ll [new file with mode: 0644]