1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[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 c623e10ed2
commit 98153c77dd

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);