[X86] Fix outdated comment

The generic saturated math opcodes are no longer widened inside X86TargetLowering
This commit is contained in:
Simon Pilgrim 2020-01-11 12:57:21 +00:00
parent 9c74fb402e
commit 24763734e7
1 changed files with 1 additions and 2 deletions

View File

@ -28722,8 +28722,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
}
case X86ISD::VPMADDWD:
case X86ISD::AVG: {
// Legalize types for ISD::UADDSAT/SADDSAT/USUBSAT/SSUBSAT and
// X86ISD::AVG/VPMADDWD by widening.
// Legalize types for X86ISD::AVG/VPMADDWD by widening.
assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
EVT VT = N->getValueType(0);