[PATCH] D83231: [CodeGen] Don't combine extract + concat vectors with non-legal types
Ties Stuij via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 04:26:32 PDT 2020
stuij marked 2 inline comments as done.
stuij added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17817-17818
+ VecVT.getVectorElementType() == ScalarVT &&
+ TLI.isTypeLegal(
+ VecOp.getOperand(0).getValueType().getVectorElementType())) {
// extract_vector_elt (concat_vectors v2i16:a, v2i16:b), 0
----------------
lebedev.ri wrote:
> !LegalTyepes || TLI.isTypeLegal(
Thanks. Fixed this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83231/new/
https://reviews.llvm.org/D83231
More information about the llvm-commits
mailing list