OSDN Git Service

[x86] add restriction for lowering to vpermps
authorSanjay Patel <spatel@rotateright.com>
Sun, 27 Jan 2019 21:53:33 +0000 (21:53 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 27 Jan 2019 21:53:33 +0000 (21:53 +0000)
commit06340db3fce25f6a9335234a5b25d711f78b1501
treec829f0b6d582d3d9a4bdda7579dd43c35b633e2c
parent5b66f011e745b30119e9d885513909ea826cdf90
[x86] add restriction for lowering to vpermps

This transform was added with rL351346, and we had
an escape for shufps, but we also want one for
unpckps vs. vpermps because vpermps doesn't take
an immediate shuffle index operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352333 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-128-unpck.ll