mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[llvm] Remove redundant return [NFC]
Reviewers: davidxl, olista01, Eugene.Zelenko Reviewed By: Eugene.Zelenko Subscribers: sdardis, javed.absar, llvm-commits Differential Revision: https://reviews.llvm.org/D39917 llvm-svn: 317995
This commit is contained in:
parent
6dbd706f89
commit
32947f7b72
@ -645,7 +645,6 @@ void Instruction::copyMetadata(const Instruction &SrcInst,
|
|||||||
}
|
}
|
||||||
if (WL.empty() || WLS.count(LLVMContext::MD_dbg))
|
if (WL.empty() || WLS.count(LLVMContext::MD_dbg))
|
||||||
setDebugLoc(SrcInst.getDebugLoc());
|
setDebugLoc(SrcInst.getDebugLoc());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Instruction *Instruction::clone() const {
|
Instruction *Instruction::clone() const {
|
||||||
|
@ -5905,7 +5905,6 @@ void ARMAsmParser::fixupGNULDRDAlias(StringRef Mnemonic,
|
|||||||
Operands.insert(
|
Operands.insert(
|
||||||
Operands.begin() + 3,
|
Operands.begin() + 3,
|
||||||
ARMOperand::CreateReg(PairedReg, Op2.getStartLoc(), Op2.getEndLoc()));
|
ARMOperand::CreateReg(PairedReg, Op2.getStartLoc(), Op2.getEndLoc()));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parse an arm instruction mnemonic followed by its operands.
|
/// Parse an arm instruction mnemonic followed by its operands.
|
||||||
|
@ -188,7 +188,6 @@ printMemOperandEA(const MCInst *MI, int opNum, raw_ostream &O) {
|
|||||||
printOperand(MI, opNum, O);
|
printOperand(MI, opNum, O);
|
||||||
O << ", ";
|
O << ", ";
|
||||||
printOperand(MI, opNum+1, O);
|
printOperand(MI, opNum+1, O);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MipsInstPrinter::
|
void MipsInstPrinter::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user