mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 15:33:16 +00:00
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:
parent
d570f59048
commit
e3b2489f4f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user