[PATCH] D121447: [RISCV] Add basic code modeling for fixed length vector reduction.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 17:47:32 PST 2022


fakepaper56 added a comment.

I think  `getTypeLegalizationCost` is imprecise for RVV fixed length vector. Take `v4i8` as an example, `getTypeLegalizationCost` thinks `v4i8` should split to 4 `v1i8` since `v4i8` is not legal type. But `v4i8` is expanded to `extract_subvector` of a `nxv1i8`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121447



More information about the llvm-commits mailing list