[PATCH] [CodeGen] Combine small-element shuffles of scalar_to_vector in terms of the wider scalar.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Wed Apr 8 17:50:27 PDT 2015
In http://reviews.llvm.org/D8885#153343, @RKSimon wrote:
> If you look at the early versions of the patch on http://reviews.llvm.org/D8516 we did have a version that would create a SCALAR_TO_VECTOR if only the first scalar was defined, but there wasn't a good use case for it so it got dropped. Readding that path should be trivial.
I don't think we need that after all; I agree with your comment there that it's fine to "rely on a target's lowering logic to do the right thing."
-Ahmed
http://reviews.llvm.org/D8885
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list