[InstCombine] move vector compare before same-shuffled ops
authorSanjay Patel <spatel@rotateright.com>
Thu, 16 Aug 2018 12:52:17 +0000 (12:52 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 16 Aug 2018 12:52:17 +0000 (12:52 +0000)
commit039f556f44e366e70d174be1026080bdb6c23995
tree85d988b5887f8ec9a763fe1c7bd246155c7b28a4
parent61cd68700927f4811e0803a135104e9c96b0d679
[InstCombine] move vector compare before same-shuffled ops

This is a step towards fixing PR37463:
https://bugs.llvm.org/show_bug.cgi?id=37463

llvm-svn: 339875
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-vec.ll