combine predicates; NFCI

llvm-svn: 250075
This commit is contained in:
Sanjay Patel
2015-10-12 18:15:08 +00:00
parent 90c6cf8e7d
commit 0dc91b3143

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;