Fix the case when reordering shuffle and binop produces a constant.
authorSerge Pavlov <sepavloff@gmail.com>
Wed, 14 May 2014 09:05:09 +0000 (09:05 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Wed, 14 May 2014 09:05:09 +0000 (09:05 +0000)
commiteb7d69d49a0f5d68e80b53f411b559d05b46c8be
tree50102301e0e2eb133d23af5d1b2d6fbdd8d1503e
parent8517c90a0aa4084b3e1ce0df259694bcf62767e2
Fix the case when reordering shuffle and binop produces a constant.

This resolves PR19737.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208762 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/vec_shuffle.ll