[PATCH] D15552: TTI: Allow targets to override getScalarizationOverhead

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 08:08:09 PDT 2016


arsenm added a comment.

In http://reviews.llvm.org/D15552#375044, @hfinkel wrote:

> If the vectors don't exist, shouldn't the insert/extract costs be zero?


The extract cost is zero. I'm not sure a vector insert should be considered as 0, because the only time this would really happen in the ISA is if packing a vector for a store


http://reviews.llvm.org/D15552





More information about the llvm-commits mailing list