[llvm] 2476373 - [X86] Fix outdated comment

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 11 06:38:24 PST 2020


Author: Simon Pilgrim
Date: 2020-01-11T14:37:18Z
New Revision: 24763734e7f45e3b60118b28987685d42e7a761f

URL: https://github.com/llvm/llvm-project/commit/24763734e7f45e3b60118b28987685d42e7a761f
DIFF: https://github.com/llvm/llvm-project/commit/24763734e7f45e3b60118b28987685d42e7a761f.diff

LOG: [X86] Fix outdated comment

The generic saturated math opcodes are no longer widened inside X86TargetLowering

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 881e965e7340..3c8fa425ca0e 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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);


        


More information about the llvm-commits mailing list