[llvm] r317995 - [llvm] Remove redundant return [NFC]
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 11 19:47:50 PST 2017
Author: mgrang
Date: Sat Nov 11 19:47:50 2017
New Revision: 317995
URL: http://llvm.org/viewvc/llvm-project?rev=317995&view=rev
Log:
[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
Modified:
llvm/trunk/lib/IR/Instruction.cpp
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/trunk/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
Modified: llvm/trunk/lib/IR/Instruction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Instruction.cpp?rev=317995&r1=317994&r2=317995&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Instruction.cpp (original)
+++ llvm/trunk/lib/IR/Instruction.cpp Sat Nov 11 19:47:50 2017
@@ -645,7 +645,6 @@ void Instruction::copyMetadata(const Ins
}
if (WL.empty() || WLS.count(LLVMContext::MD_dbg))
setDebugLoc(SrcInst.getDebugLoc());
- return;
}
Instruction *Instruction::clone() const {
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=317995&r1=317994&r2=317995&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Sat Nov 11 19:47:50 2017
@@ -5905,7 +5905,6 @@ void ARMAsmParser::fixupGNULDRDAlias(Str
Operands.insert(
Operands.begin() + 3,
ARMOperand::CreateReg(PairedReg, Op2.getStartLoc(), Op2.getEndLoc()));
- return;
}
/// Parse an arm instruction mnemonic followed by its operands.
Modified: llvm/trunk/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp?rev=317995&r1=317994&r2=317995&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp Sat Nov 11 19:47:50 2017
@@ -188,7 +188,6 @@ printMemOperandEA(const MCInst *MI, int
printOperand(MI, opNum, O);
O << ", ";
printOperand(MI, opNum+1, O);
- return;
}
void MipsInstPrinter::
More information about the llvm-commits
mailing list