[X86] Fix a regression introduced by r223641.
authorQuentin Colombet <qcolombet@apple.com>
Thu, 12 Mar 2015 19:34:12 +0000 (19:34 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 12 Mar 2015 19:34:12 +0000 (19:34 +0000)
commitf59b2d034cd7da4f9de6c56fea311ee0af849598
tree5f1596a9014b4591b8ca04d1b92fcacc0d8ada9a
parent9a0263aad7b88d2609b18dc150fddfa124abbe8b
[X86] Fix a regression introduced by r223641.
The permps and permd instructions have their operands swapped compared to the
intrinsic definition. Therefore, they do not fall into the INTR_TYPE_2OP
category.

I did not create a new category for those two, as they are the only one AFAICT
in that case.

<rdar://problem/20108262>

llvm-svn: 232085
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86IntrinsicsInfo.h
llvm/test/CodeGen/X86/avx2-intrinsics-x86.ll
llvm/test/CodeGen/X86/stack-folding-int-avx2.ll