[PATCH] [AArch64 - BE] BUILD_VECTOR lane order is reversed in big-endian mode
asiri.rathnayake at arm.com
Thu Aug 28 03:51:40 PDT 2014
This is a revamp of .
That patch was rejected mainly because it lacked enough testing. I've added tests to cover all ModImmTypes and addressed the other minor points you mentioned there.
- The need to use rev64 instructions with big-endian vectors is documented at 
- Most ModImmTypes have a symmetric counter-part, and the lane reversal causes them to be encoded in that opposite pattern. A few ModImmTypes (7,8, 11, 12) do not have that property and gets pushed into memory. But this is irrelevant as far as correctness is concerned.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15569 bytes
Desc: not available
More information about the llvm-commits