revert r301766: InstructionSimplify: Canonicalize shuffle operands. NFC-ish
authorSanjay Patel <spatel@rotateright.com>
Tue, 2 May 2017 21:37:28 +0000 (21:37 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 2 May 2017 21:37:28 +0000 (21:37 +0000)
commitd091e76e0e453dfe66f4d9af6eff0e01194e2ad3
tree492d98c489e86a7f24e244f5ddd3fc072b1335d1
parent95379129619a2dee2f3b298679ddbcdda581ad94
revert r301766: InstructionSimplify: Canonicalize shuffle operands. NFC-ish

Turns out this wasn't NFC-ish at all because there's a bug processing shuffles
that change the size of their input vectors (that case always seems to trip us
up).

This should fix PR32872 while we investigate how it failed and reduce a testcase:
https://bugs.llvm.org/show_bug.cgi?id=32872

llvm-svn: 301977
llvm/lib/Analysis/InstructionSimplify.cpp