[PATCH] D113900: [PowerPC] Prevent the optimizer from producing wide vector types in IR.
Lei Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 16 12:17:33 PST 2021
lei added a comment.
Instead of adding:
if (isMMAType(Src))
return InstructionCost::getMax();
to all the different cost calculating functions, is it possible to just add them the underlying functions?
For example I see this check was added multiple functions that also calls `vectorCostAdjustment()` or `getMemoryOpCost()`.
I haven't tried this so not sure if it will work, but was thinking it would make sense to at least add this to `vectorCostAdjustment()`
since it's a vector type.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113900/new/
https://reviews.llvm.org/D113900
More information about the llvm-commits
mailing list