[InstCombine] remove overzealous assert for shuffles (PR41419)
authorSanjay Patel <spatel@rotateright.com>
Mon, 8 Apr 2019 13:28:29 +0000 (13:28 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 8 Apr 2019 13:28:29 +0000 (13:28 +0000)
commitb33938df7a4cff114ea0249f12bb507d41e8b654
tree7e8fd18063f75a6cc552bde2ea17facdbb888a3e
parentb4f1bfa65982804d0e34beffea2753783c9878c2
[InstCombine] remove overzealous assert for shuffles (PR41419)

As the TODO indicates, instsimplify could be improved.

Should fix:
https://bugs.llvm.org/show_bug.cgi?id=41419

llvm-svn: 357910
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
llvm/test/Transforms/InstCombine/shuffle_select.ll