Hi, I've broken this set of patches up into bite-sized chunks for easier review and management. They'll be showing up as replies to this message. #1-6 are straightforward tests to cover the variations of the vector load and store intrinsics. These look much alike, but there really are differences between them. :-) #7 touches a few existing testcases to allow continued PASSing after the gimple folding affects codegen. #8 introduces the actual gimple-folding for the built-ins. #9 adds support to allow _builtin_vec_xst() to take *double or *long long as the third parameter, where it currently only allows *vector (of double) or *vector (of long long). Two of the new tests will fail without this update.
The series have been successfully regtested on Linux - P6,P7,P8(le,be),P9. Thanks, -Will