]> granicus.if.org Git - llvm/commit
Merging r269676:
authorMichael Kuperstein <mkuper@google.com>
Thu, 19 May 2016 22:07:45 +0000 (22:07 +0000)
committerMichael Kuperstein <mkuper@google.com>
Thu, 19 May 2016 22:07:45 +0000 (22:07 +0000)
commit1cc5853a725f882b30d181d1d97f8ff2c4bc3d33
tree99ffd2353f1e2d0dcdc9b7ee71e10b19482e36a8
parent9f0a93bdefecc5f98957187373e601a83ac6c86f
Merging r269676:

------------------------------------------------------------------------
r269676 | mkuper | 2016-05-16 11:27:00 -0700 (Mon, 16 May 2016) | 14 lines

[X86] Remove transformVSELECTtoBlendVECTOR_SHUFFLE

The new X86 shuffle lowering can do just fine without transforming vselects
into vector_shuffles. It looks like the only thing this code does right now
is cause trouble - in particular, it can lead to combine/legalization infinite
loops.

Note that it's not completely NFC, since some of the shuffle masks get inverted,
which may cause slight differences further down the line. We may want to find
a way to invert those masks, but that's orthogonal to this commit.

This fixes the hang in PR27689.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@270146 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-blend.ll