[llvm] 77af16b - Recommit "Remove incorrect comment around `truncateAVX512SetCCNoBWI`; NFC" (2nd Try)

Noah Goldstein via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 18:40:14 PST 2023


Author: Noah Goldstein
Date: 2023-02-16T20:39:14-06:00
New Revision: 77af16bcb78a86da7d0b6d96fb2b35334b1c84b5

URL: https://github.com/llvm/llvm-project/commit/77af16bcb78a86da7d0b6d96fb2b35334b1c84b5
DIFF: https://github.com/llvm/llvm-project/commit/77af16bcb78a86da7d0b6d96fb2b35334b1c84b5.diff

LOG: Recommit "Remove incorrect comment around `truncateAVX512SetCCNoBWI`; NFC" (2nd Try)

No bug here, just needed to revert to revert
8bd0e9481cfcba53946433011d841280fd456caa which had a bug.

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 6247d11205ba..025de71ea5ed 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -53902,8 +53902,6 @@ static SDValue combineVectorSizedSetCCEquality(SDNode *SetCC, SelectionDAG &DAG,
 /// If we have AVX512, but not BWI and this is a vXi16/vXi8 setcc, just
 /// pre-promote its result type since vXi1 vectors don't get promoted
 /// during type legalization.
-/// NOTE: The element count check is to ignore operand types that need to
-/// go through type promotion to a 128-bit vector.
 static SDValue truncateAVX512SetCCNoBWI(EVT VT, EVT OpVT, SDValue LHS,
                                         SDValue RHS, ISD::CondCode CC, SDLoc DL,
                                         SelectionDAG &DAG,


        


More information about the llvm-commits mailing list