combine predicates; NFCI

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjay Patel 2015-10-12 18:15:08 +00:00
parent d4c646110a
commit 6de0340503

View File

@ -25736,10 +25736,7 @@ static SDValue PerformSExtCombine(SDNode *N, SelectionDAG &DAG,
}
}
if (!Subtarget->hasFp256())
return SDValue();
if (VT.isVector() && VT.getSizeInBits() == 256)
if (Subtarget->hasAVX() && VT.isVector() && VT.getSizeInBits() == 256)
if (SDValue R = WidenMaskArithmetic(N, DAG, DCI, Subtarget))
return R;