mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Remove variables which are assigned to but for which the value
is not used. Spotted by gcc-4.6. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6108,7 +6108,6 @@ SDValue DAGCombiner::visitEXTRACT_VECTOR_ELT(SDNode *N) {
|
||||
// Check if the result type doesn't match the inserted element type. A
|
||||
// SCALAR_TO_VECTOR may truncate the inserted element and the
|
||||
// EXTRACT_VECTOR_ELT may widen the extracted vector.
|
||||
EVT EltVT = InVec.getValueType().getVectorElementType();
|
||||
SDValue InOp = InVec.getOperand(0);
|
||||
EVT NVT = N->getValueType(0);
|
||||
if (InOp.getValueType() != NVT) {
|
||||
|
||||
Reference in New Issue
Block a user