[PATCH] D102990: [X86][Costmodel] getMaskedMemoryOpCost(): don't scalarize non-power-of-two vectors with legal element type

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 05:04:47 PDT 2021


lebedev.ri added a comment.

In D102990#2776864 <https://reviews.llvm.org/D102990#2776864>, @ABataev wrote:

> Does codegen support this kind of lowering?

It already has to, because e.g. `<2 x float>` is a power of two,
but is only a half of XMM, non-powers-of-two aren't any different.
https://godbolt.org/z/xPssrK3Wh


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102990



More information about the llvm-commits mailing list