[llvm] 1b4021e - [X86] Remove unused variable
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 06:27:16 PDT 2023
Author: Simon Pilgrim
Date: 2023-04-04T14:27:04+01:00
New Revision: 1b4021e60a53525ca9d049c3a57e881d029672a1
URL: https://github.com/llvm/llvm-project/commit/1b4021e60a53525ca9d049c3a57e881d029672a1
DIFF: https://github.com/llvm/llvm-project/commit/1b4021e60a53525ca9d049c3a57e881d029672a1.diff
LOG: [X86] Remove unused variable
Leftover from eb435b7ff569b35ae603886b881f51ac8600bd60
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 55e085e32209..0ffce00e313f 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -44108,7 +44108,6 @@ static SDValue combineBitcastvxi1(SelectionDAG &DAG, EVT VT, SDValue Src,
SDValue UpperOp = SubSrcOps[1];
if (LowerOp.getOpcode() == ISD::SETCC && UpperOp.isUndef()) {
EVT HalfVT = VT.getHalfSizedIntegerVT(*DAG.getContext());
- EVT HalfSrcVT = SrcVT.getHalfNumVectorElementsVT(*DAG.getContext());
if (SDValue V = combineBitcastvxi1(DAG, HalfVT, LowerOp, DL, Subtarget))
return DAG.getNode(ISD::ANY_EXTEND, DL, VT, V);
}
More information about the llvm-commits
mailing list