Created attachment 19013 [details] reproducer When testing LLVM with the VPlan based vectorization enabled we found lots of issues on non-x86 architectures. I've attached a reduced IR test case from libpng on PPC64. It assert fails with: % opt -disable-output -aa-pipeline=default -passes='default<O3>' png.simplified.ll I'm going to revert the patch while you investigate.
Thanks. We've uploaded to D32871 a revised version which fixes the reproducer. Could you please test it pre-commit and let us know if any issues remain, or would you prefer we commit?