mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
[ARM] Remove more dead code.
Dead code identified by the Clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd2d40cef6
commit
463e275e3e
@ -1379,10 +1379,7 @@ bool ARMDAGToDAGISel::SelectT2AddrModeSoReg(SDValue N,
|
||||
OffReg = OffReg.getOperand(0);
|
||||
else {
|
||||
ShAmt = 0;
|
||||
ShOpcVal = ARM_AM::no_shift;
|
||||
}
|
||||
} else {
|
||||
ShOpcVal = ARM_AM::no_shift;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3397,7 +3394,6 @@ SDNode *ARMDAGToDAGISel::SelectInlineAsm(SDNode *N){
|
||||
std::vector<SDValue> Ops(GU->op_begin(), GU->op_end()-1);
|
||||
Ops.push_back(T1.getValue(1));
|
||||
CurDAG->UpdateNodeOperands(GU, Ops);
|
||||
GU = T1.getNode();
|
||||
}
|
||||
else {
|
||||
// For Kind == InlineAsm::Kind_RegUse, we first copy two GPRs into a
|
||||
|
Loading…
Reference in New Issue
Block a user