[PATCH] D158988: [LV] Choose the wider VF where they have same cost

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 01:08:15 PDT 2023


david-arm added a comment.

Also, it's quite possible that the cost model for the loop you're interested in needs improving further. For example, what if you changed the cost of the `trunc` in the loop to zero - would that also solve your problem?    I think @kmclaughlin's patch only changed the costs of the zext and sext instructions.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158988/new/

https://reviews.llvm.org/D158988



More information about the llvm-commits mailing list