[PATCH] D100099: [X86][CostModel] Try to fix cost computation load/stores of non-power-of-two vectors
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 15 05:32:48 PDT 2021
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.cpp:3236
+ APInt DemandedElts = APInt::getNullValue(NumElem);
+ DemandedElts.setBits(NumElemDone, NumElemDone + Factor);
+ Cost += getScalarizationOverhead(VTy, DemandedElts,
----------------
APInt::getBitsSet ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100099/new/
https://reviews.llvm.org/D100099
More information about the llvm-commits
mailing list