[llvm] f895d55 - Remove incorrect comment around `truncateAVX512SetCCNoBWI`; NFC
Noah Goldstein via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 14 17:14:51 PST 2023
Author: Noah Goldstein
Date: 2023-02-14T19:14:38-06:00
New Revision: f895d55f149b66542940b22c547bb8400cbe2237
URL: https://github.com/llvm/llvm-project/commit/f895d55f149b66542940b22c547bb8400cbe2237
DIFF: https://github.com/llvm/llvm-project/commit/f895d55f149b66542940b22c547bb8400cbe2237.diff
LOG: Remove incorrect comment around `truncateAVX512SetCCNoBWI`; NFC
Differential Revision: https://reviews.llvm.org/D144060
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 25054b769482..b06d9a312ae9 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -53900,8 +53900,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