Hi,
I refactored the patch in D10335 according to the comments. The main concern is to share as much code as possible.
This patch adds a new pass called InterleavedAccessPass in the lib/CodeGen. It constains the code about identifying interleaved accesses. As we can not share the code about creating target specific intrinsics, I put such code in the target backends.
Review please.
Thanks,
-Hao
How would IR look for 4 vectors? Will we have a shuffle of shuffles?