[PATCH] D96791: [SLP] Double UserCost compensation for vector store of aggregate
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 16 10:51:41 PST 2021
ABataev added a comment.
I think the better approach would be to pass the list of `InsertUses` as a `buildTree` function `UserIgnoreLst` argument. You just need to correctly generate ExtractElement instructions for these InsertElements because currently the compiler just crashes trying to remove instructions used as operands for the original InsertElements. Thoughts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96791/new/
https://reviews.llvm.org/D96791
More information about the llvm-commits
mailing list