[PATCH] D103144: [X86][Costmodel] Load/store v2i16 VF=2 interleaving costs
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 26 09:52:53 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.cpp:4798-4799
// Factor (stride) and VectorType=VFxiN.
// The Cost accounts only for the shuffle sequence;
// The cost of the loads/stores is accounted for separately.
//
----------------
> In your analysis, don't you need to account for the load/stores as well? Although in these cases they don't affect the numbers: https://llvm.godbolt.org/z/4xeEf619Y
I'm following this comment, only measuring the shuffle sequence, ignoring loads/stores.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103144/new/
https://reviews.llvm.org/D103144
More information about the llvm-commits
mailing list