AVX: Fix a bug in WidenMaskArithmetic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2013-01-02 17:41:03 +00:00
parent d570f59048
commit e3b2489f4f

View File

@ -15974,7 +15974,7 @@ static SDValue WidenMaskArithmetic(SDNode *N, SelectionDAG &DAG,
}
// Generate the wide operation.
SDValue Op = DAG.getNode(N->getOpcode(), DL, WideVT, N0, N1);
SDValue Op = DAG.getNode(Narrow->getOpcode(), DL, WideVT, N0, N1);
unsigned Opcode = N->getOpcode();
switch (Opcode) {
case ISD::ANY_EXTEND: