OSDN Git Service

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)
commit05c11eb3e6503f35093ae9b6892f742d7929aa69
tree7ca53ab88a9851795b7e23ff223075f9561b623d
parente8a0898f79fa403df2434d61878fb7623f9708aa
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301977 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp