Hi Tim,
This patch implements post-increment LD1 (lane) and post-increment LD1R. The implementation is like the implementation of NEON post-increment load with 2/3/4 vectors.
It tries to do the following 2 combines if satisfied:
(1) combine an ARM64ISD:DUP and a post-increment load into a post-increment LD1R. (2) combine an ISD::INSERT_VECTOR_ELT and a post-increment load into a post-increment LD1 (lane).
Ask for code review.
Thanks,
-Hao
Please add braces around this if clause? either there should be no braces around if or else, or braces around both.