[PATCH] [AArch64 - BE] BUILD_VECTOR lane order is reversed in big-endian mode

Asiri Rathnayake asiri.rathnayake at arm.com
Sat Aug 30 00:21:23 PDT 2014

Hi TIm,

> However, the DAG that actually gets created is closer to:
>     REV32 v0.4h, v0.4h // By the code associated with resolveBuildVector
>     REV64 v0.4h, v0.4h // By LowerCall
> And the combination of those two operations is indeed a "REV64
> v0.2s"[1]. I think that first one is a problem (particularly in the
> BIC/OR case, but conceptually not what we want even for MOVI).

Thanks for this explanation, helped a lot :)

I will play around getting rid of that dodgy rev.




More information about the llvm-commits mailing list