[llvm] 9936064 - Remove an unused variable, NFC
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 04:09:17 PST 2023
Author: Haojian Wu
Date: 2023-01-18T13:08:21+01:00
New Revision: 9936064d6677323f973b533303312139f0017834
URL: https://github.com/llvm/llvm-project/commit/9936064d6677323f973b533303312139f0017834
DIFF: https://github.com/llvm/llvm-project/commit/9936064d6677323f973b533303312139f0017834.diff
LOG: Remove an unused variable, NFC
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 4cb228099005..59d17ec9fd65 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -20062,7 +20062,6 @@ SDValue DAGCombiner::combineInsertEltToShuffle(SDNode *N, unsigned InsIndex) {
assert(N->getOpcode() == ISD::INSERT_VECTOR_ELT &&
"Expected extract_vector_elt");
SDValue InsertVal = N->getOperand(1);
- SDValue Vec = N->getOperand(0);
if (InsertVal.getOpcode() != ISD::BITCAST || !InsertVal.hasOneUse() ||
!InsertVal.getOperand(0).getValueType().isVector())
More information about the llvm-commits
mailing list