[PATCH] D21251: [TTI] The cost model should not assume illegal vector casts get completely scalarized

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 14:37:06 PDT 2016


delena added a comment.

Could you, please, add a test for "sext <16 x i32 > to <16 x i64 >" for Skylake-avx512 and see what happens?
The cost should be 2. I know that this case did not work correctly and in many cases prevented vectorization to 16.


http://reviews.llvm.org/D21251





More information about the llvm-commits mailing list