[PATCH] D81013: [InstCombine] move vector select ahead of select-shuffle
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 13:51:22 PDT 2020
lebedev.ri added a comment.
Ah, i guess i see it.
The problem is that `ShuffleVectorInst::isSingleSourceMask(ArrayRef<int> Mask)` is kinda broken:
it can't tell `isSingleSourceMaskImpl()` how many src elts there are,
so naturally it will immediately assert as long as it selects from non-first source..
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81013/new/
https://reviews.llvm.org/D81013
More information about the llvm-commits
mailing list