Skip to content

Commit

Permalink
[X86] Fix outdated comment
Browse files Browse the repository at this point in the history
The generic saturated math opcodes are no longer widened inside X86TargetLowering
  • Loading branch information
RKSimon committed Jan 11, 2020
1 parent 9c74fb4 commit 2476373
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2476373

Please sign in to comment.